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.
In reply to Re: Accessing ARRAYS inside objects
by xmath
in thread Accessing ARRAYS inside objects
by NetWallah
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |