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

Re: What are multiple $_[0] =~ operations doing?

by polettix (Vicar)
on Apr 01, 2005 at 10:14 UTC ( [id://444135]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub double_it {
       $_[0] *= 2;
    ...
    print "\$x is $x\n";
    double_it($x);
    print "\$x now is $x\n";
    
  2. or download this
    $x is 1
    $x now is 2
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (2)
As of 2024-04-20 03:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found