Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^3: "$_" vs. $_

by blazar (Canon)
on Apr 08, 2007 at 11:09 UTC ( [id://608888]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $bar = "world";
    
    sub foo
    {
        while (@_) { $bar = shift; $params->{$bar} = shift; }
    
  2. or download this
    my $_;
    
  3. or download this
    local $_=whatever;
    
  4. or download this
    #!/usr/bin/perl -l
    
    ...
    foo for @q;
    
    __END__
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-04-25 07:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found