Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: typeglob/symbolic reference question

by ikegami (Pope)
on Nov 04, 2010 at 02:36 UTC ( #869391=note: print w/replies, xml ) Need Help??


in reply to typeglob/symbolic reference question

What makes you think they might be equivalent?

*{$x} = sub {};
is no more equivalent to
&{$x} = sub {};
than
*{$x} = [];
is equivalent to
@{$x} = [];

In the first, you assign to a symbol table entry.
In the second, you assign to a function call (or array).

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://869391]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2020-11-01 01:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (291 votes). Check out past polls.

    Notices?