http://www.perlmonks.org?node_id=442647


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

Replies are listed 'Best First'.
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 $$;