On 05/12/00, "[EMAIL PROTECTED]" wrote:
> Doug, while your posts are always full of useful info, you made
> a typo or two in this one. You wrote:
>
> > my @filelist = grep { !/^.+/ } readdir DIR;
Oops! Must have been asleep at the wheel :)
I meant '!/^\.+$/' which is usually 'good enough' for me.
> grep { !/^\.\.?$/ }
Much better.
> grep { !/^\.\.?\z/ }
Hadn't even thought of that!
Cheers,
Douglas Wilson
---
You are currently subscribed to perl-win32-users as: [[email protected]]
To unsubscribe, forward this message to
[EMAIL PROTECTED]
For non-automated Mailing List support, send email to
[EMAIL PROTECTED]