in reply to typeglob/symbolic reference question
No. Your second example attempts to assign an anonymous subroutine to an lvalue sub called 'color'. If there is a sub called 'color' and it is not an lvalue sub you'll get:Can't modify non-lvalue subroutine call ... If it exists and is an lvalue sub, it would assign the address of the anonymous sub to its target lvalue.
This $x = 'color'; *{$x} = sub {#do something}; is equivalent to sub color { #do something };
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Seekers of Perl Wisdom