because @a will always get everything that is returned. (An artifact of the way perl handles nested list contexts.)(@a, %h) = anything()
which is basically what you came up with on your own.($href, $aref) = (@{&foo})
In reply to Re: Assign a reference to a non reference
by antifun
in thread Assign a reference to a non reference
by mystik
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |