Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: Things I Don't Use in Perl

by fizbin (Chaplain)
on Aug 29, 2005 at 00:41 UTC ( #487310=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $i=0;
    map {$keywordhash{$_}=(++$i);} @keywords;
    
  2. or download this
    %keywordhash = map {$_ => 1} @keywords;
    
  3. or download this
    do {$keywordhash{$_}=(++$i);} for @keywords;
    
  4. or download this
    %keywordhash = map { $_ => ++$i } @keywords;
    
  5. or download this
    @/=map{[/./g]}qw/.h_nJ Xapou cets krht ele_ r_ra/;
    map{y/X_/\n /;print}map{pop@$_}@/for@/
    

Log In?
Username:
Password:

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

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

    My favorite cookbook is:










    Results (29 votes), past polls