Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re^2: Taking reference to function

by SFLEX (Chaplain)
on Apr 16, 2009 at 10:15 UTC ( [id://757923]=note: print w/replies, xml ) Need Help??

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 into not complaining.
    A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (2)
As of 2024-06-18 01:57 GMT
Find Nodes?
    Voting Booth?

    No recent polls found

    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.