Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: 20 most important Perl Best Practices

by moritz (Cardinal)
on Aug 22, 2012 at 20:30 UTC ( #989137=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @filtered = grep /someregex/, @original;
    
  2. or download this
    my @filtered;
    for $str (@original) {
    ...
            push @filtered, $str;
        }
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2015-03-02 00:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:









    Results (21 votes), past polls