in reply to Re: Creating a copy of an array
in thread Creating a copy of an array
Still there are modules that can do this better.
Hell you could do this (not recommended, there are modules made for copying).
use Data::Dumper qw/Dumper/; my @first = ( ['1','2','3'], ['11','22','33'] ); my @second = @{ eval Dumper(\@first) };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Creating a copy of an array
by ichimunki (Priest) on Dec 19, 2000 at 10:27 UTC | |
by repson (Chaplain) on Dec 19, 2000 at 15:56 UTC |