in reply to Accessing ARRAYS inside objects
and@{$a->b} = @q;
see documetation like perlreftut, perllol, and perlref for more details@x = @{$a->b};
Update: just wanted to note you should realize that these statements really copy the elements from one array to the other. It's often more efficient to pass array references around instead; see the docs I linked to.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Accessing ARRAYS inside objects
by Dasaan (Beadle) on Jun 13, 2004 at 01:04 UTC | |
| A reply falls below the community's threshold of quality. You may see it by logging in. |