creates a new anonymous array and a reference to it, whereas@$ref2array = @newarray;
only creates a new reference to the existing array.$ref2array = \@newarray;
In reply to Re: Array Reference Question
by Laurent_R
in thread Array Reference Question
by Hameed
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |