pls. help me understand. what does the "!" mean below? does it mean "not"?


> 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]
>


---
You are currently subscribed to perl-win32-users as: [archive@jab.org]
To unsubscribe, forward this message to
         [EMAIL PROTECTED]
For non-automated Mailing List support, send email to  
         [EMAIL PROTECTED]

Reply via email to