in reply to Re: strict refs usage
in thread strict refs usage

Isn't this just a sneaky^Wintelligent way to use symbolic references? ;)

-QM
--
Quantum Mechanics: The dreams stuff is made of

Replies are listed 'Best First'.
Re^3: strict refs usage
by chromatic (Archbishop) on Sep 22, 2005 at 18:48 UTC

    Certainly you're still looking up a symbol name in a symbol table, but this is what Perl does internally when you call a subroutine anyway. No, knowing the name of the subroutine at compile-time doesn't allow any real optimization here.

    At least this approach gives a bit more safety over calling the symbolic reference directly.