Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^3: grep2 (like 'grep', but also return non-matches)

by BrentDax (Hermit)
on Jan 24, 2005 at 19:50 UTC ( [id://424685]=note: print w/replies, xml ) Need Help??


in reply to Re^2: grep2 (like 'grep', but also return non-matches)
in thread grep2 (like 'grep', but also return non-matches)

perlsyn sez about foreach:

...the variable is implicitly local to the loop and regains its former value upon exiting the loop.

So I think this is quite safe.

=cut
--Brent Dax
There is no sig.

  • Comment on Re^3: grep2 (like 'grep', but also return non-matches)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://424685]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-05-27 06:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found