What makes you think they might be equivalent?
is no more equivalent to*{$x} = sub {};
than&{$x} = sub {};
is equivalent to*{$x} = [];
@{$x} = [];
In the first, you assign to a symbol table entry.
In the second, you assign to a function call (or array).
In reply to Re: typeglob/symbolic reference question
by ikegami
in thread typeglob/symbolic reference question
by 7stud
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |