in reply to Re: (Re:)+ variable function thingy
in thread variable function thingy

That is a completely lame reason. Recommending the usage of undocumented/undefined features is bad. Claiming the legality of undocumented/undefined behaviour is sub-optimal.

But I was wrong.1   broquaint is correct, the construct:

use strict 'refs';
my $v = \&{'foo'};Is legal.

It is documented as the as the one exceptional case necessary to let AUTOLOAD run under stricture.

Thanks for the education.


1 This is emblazoned so you won't miss the info re: strict, not because an error of mine is noteworthy per se. I wish.

Updated as broquaint tells me I misrepresented his words.