smackdab has asked for the wisdom of the Perl Monks concerning the following question:
In 5.6 I was doing this to copy an array from an array ref:
my @$ra_ret_save = @$ra_ret;
5.8 doesn't like it and now I am doing:
my $ra_ret_save;
@{$ra_ret_save} = @{$ra_ret};
Was the orig wrong, what changed?
my @$ra_ret_save = @$ra_ret;
5.8 doesn't like it and now I am doing:
my $ra_ret_save;
@{$ra_ret_save} = @{$ra_ret};
Was the orig wrong, what changed?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: array copy question
by Roger (Parson) on Dec 08, 2003 at 22:49 UTC | |
Re: array copy question
by Roy Johnson (Monsignor) on Dec 08, 2003 at 22:26 UTC | |
Re: array copy question
by duff (Parson) on Dec 08, 2003 at 22:10 UTC |
Back to
Seekers of Perl Wisdom