Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

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

by fizbin (Chaplain)
on Aug 29, 2005 at 00:41 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://487310]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2024-04-24 15:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found