Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Sub ref from string without eval

by stevieb (Canon)
on Apr 02, 2012 at 15:27 UTC ( #963041=note: print w/replies, xml ) Need Help??


in reply to Sub ref from string without eval

...and just to be safe, I'll throw up this writeup by Mark Jason Dominus

Yes, I have had it handed out lovingly to me years ago, and aside from the odd edge case (creating accessors from a config file where Moose wasn't available), I still don't have any reason to do it :)

Replies are listed 'Best First'.
Re^2: Sub ref from string without eval
by Anonymous Monk on Apr 02, 2012 at 19:43 UTC

    and aside from the odd edge case (creating accessors from a config file where Moose wasn't available)

    That is not an edge case, just another instance where you shouldn't use a variable as a variable name

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (8)
As of 2020-11-25 14:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?