Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2025-06-16 18:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.