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

Re: Re: Non-destructive array processing

by Ovid (Cardinal)
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 surveying the Monastery: (15)
As of 2014-07-23 20:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (152 votes), past polls