Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Pass by value acts like pass by reference

by gmpassos (Priest)
on Jul 12, 2004 at 07:19 UTC ( #373552=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      my $ref = [0 , 1 , 2 , 3] ;
    
  2. or download this
      my @array = (0 , 1 , 2 , 3) ;
      my $ref = \@array ;
    
  3. or download this
      $main_ref = [1 , 2 , 3] ;
     
    ...
    
      $ref2 = 'not a ref anymore' ;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2023-01-27 15:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?