on Thu, 20 Jun 2002 22:29:45 GMT, David Wagner wrote:

>      But unless you have done a chdir it will only pass the file name or
> directory name and not do what you want.


You are absolutely right. The line should read:

    my @filelist = grep { -f "$dir/$_" && m/^\d{5,6}$/}  readdir DIR;

where $dir contains the directory. Thanks for spotting this.

-- 
felix



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to