Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Re: Another Q about piping Perl

by blakem (Monsignor)
on Oct 12, 2001 at 03:25 UTC ( #118368=note: print w/replies, xml ) Need Help??


in reply to Re: Another Q about piping Perl
in thread Another Q about piping Perl

I like map as much as the next guy (see the "extended" Location field on my homenode) but why not write the above map as:
-f $_ && print "$_ " for <$ENV{HOME}/MAIL/*>

-Blake

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (2)
As of 2022-05-29 06:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (101 votes). Check out past polls.

    Notices?