Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Subroutine args by-value vs. by-ref

by Anonymous Monk
on Aug 24, 2002 at 01:40 UTC ( [id://192509]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @Arra = ( 1, 2, 3, 4 );
    PassByReference(\@Arra);
    sub PassByReference {
         die "@_";
    }
    
  2. or download this
    use Data::Dumper;
    
    ...
    
    
    sub DIE { print Dumper(@_) };
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-25 23:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found