Interesting. I specifically didn't use \pop because I figured that you'd end up with a reference to a copy. But it makes sense that it is the assignment in "my $x = pop" that does the copying and not the pop. Thanks.
- tye
In reply to Re^3: Optional parameter before reference (ylsned)
by tye
in thread Optional parameter before reference
by Neutron Jack
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |