Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: pipe one function output to another

by markkawika (Monk)
on Aug 14, 2009 at 17:04 UTC ( [id://788697]=note: print w/replies, xml ) Need Help??


in reply to Re: pipe one function output to another
in thread pipe one function output to another

for (@arr) { $_ = uc; }
That may be the "Perl way", but according to the Damian Conway-authored Perl Best Practices, a better way would be:
for my $index (@arr) { $index = uc $index; }

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (6)
As of 2024-09-18 11:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The PerlMonks site front end has:





    Results (24 votes). Check out past polls.

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.