Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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 studying the Monastery: (8)
As of 2016-09-30 11:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (563 votes). Check out past polls.