in reply to typeglob/symbolic reference question
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 Section
Seekers of Perl Wisdom