http://www.perlmonks.org?node_id=757923


in reply to Re: Taking reference to function
in thread Taking reference to function

Telling someone to turn off strict refs is NOT a good idea, unless right after the functions action they turn it back on.
Besides why would you want to turn something off when you can get around the error.
Spiel auf Hündinnen.

Replies are listed 'Best First'.
Re^3: Taking reference to function
by tilly (Archbishop) on Apr 16, 2009 at 14:51 UTC
    If you turn off strict refs inside of a block, it is automatically on right after the block. I personally find it clearer to do this than to use a complex syntax the maintenance programmer may not know to fool strict.pm into not complaining.
    A reply falls below the community's threshold of quality. You may see it by logging in.