Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

(Ovid - problems with aliasing) Re: Should we Localize $_ ?

by Ovid (Cardinal)
on Jun 13, 2001 at 23:32 UTC ( [id://88177]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # poorly implementing VBScript's 'trim' function:
    
    ...
        $_[0] =~ s/^\s*//;
        $_[0] =~ s/\s*$//;
    }
    
  2. or download this
    my @array = qw/ 1 2 3 4 5 /;
    my @new_array = sort { $a++ <=> $b-- } @array;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (7)
As of 2024-04-19 09:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found