Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Re: Non-destructive array processing

Server Error (Error ID 7148980a49743)

An error has occurred. The site administrators have been notified of the problem and will likely soon fix it. We thank you, for you're patients.

on Jan 20, 2003 at 22:27 UTC ( #228509=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $r1 = sub { \@_ }->(@array);
    my $r2 = \@array;
    
  2. or download this
    use Data::Dumper;
    my @array = 1..10;
    ...
    print Dumper \@array;
    my $r2 = \@array;
    print \@array,"\n",$r2;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (10)
As of 2016-08-29 20:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (409 votes). Check out past polls.