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

Re^2: Stupid mistakes I repeatedly make

by tlm (Prior)
on Mar 27, 2005 at 17:11 UTC ( #442647=note: print w/ replies, xml ) Need Help??


in reply to Re: Stupid mistakes I repeatedly make
in thread Stupid mistakes I repeatedly make

Then toss map and open up your life to the "listable" form of chomp:

@chomped = @_; chomp @chomped; # yum-yum

the lowliest monk


Comment on Re^2: Stupid mistakes I repeatedly make
Select or Download Code
Re^3: Stupid mistakes I repeatedly make
by kappa (Chaplain) on Mar 28, 2005 at 12:17 UTC
    Or even better: chomp (my @chomped = @_);
    --kap
      Oh the logic! This one is so beautiful and ugly it makes me want to cry.

      $will->code for @food or $$;

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (15)
As of 2014-10-01 13:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (19 votes), past polls