On 06/01/2007 11:04 AM, Ben Edwards wrote:
[...]
The variable $flist has something like '*.cvs' in it which I guess is
almost but not quite a regular expresion.

Any idea how I can find out if $file matches the filename 'mask'
$flist.  Alternatively is there a way of doing a ls and specifying a
file mask?

Ben

Try out the module Text::Glob.



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to