Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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

by Ovid (Cardinal)
on Sep 08, 2002 at 00:58 UTC ( #195948=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      $_ = 'Ovid';
      %hash = map { $_ => 1 } qw/ foo bar baz /;
      print;
    
  2. or download this
      $_ = 'Ovid';
      %hash = map {
    ...
          $_ => 1
      } qw/ foo bar baz /;
      print;
    
  3. or download this
      $_ = 'Ovid';
      %hash = map {
    ...
          $_ => 1
      } qw/ foo bar baz /;
      print;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://195948]
help
Chatterbox?
and the monastery is silent...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2017-11-24 19:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (353 votes). Check out past polls.

    Notices?