Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: Pass by ref vs alias : why does scalar size matter?

by clinton (Priest)
on May 01, 2008 at 22:22 UTC ( [id://684044]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    
           $_[0]   .= 'abcde';
    ...
           $_[0]    = substr(   $_[0]   , -500);
    vs  ${ $_[0] }  = substr(${ $_[0] } , -500);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2024-04-24 02:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found