http://qs321.pair.com?node_id=963041


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