Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: while(<>) { ... } considered harmful

by dws (Chancellor)
on Sep 07, 2002 at 23:37 UTC ( #195930=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      map { substr($_, 1, 1) = "foo" } qw(bar baz);
  2. or download this
      grep { substr($_, 1, 1) = "foo" } qw(bar baz);
  3. or download this
      foreach ( qw(foo) ) { $_ = 1 }

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2014-08-30 03:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (291 votes), past polls