Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: strict refs usage

by splinky (Hermit)
on Sep 22, 2005 at 15:47 UTC ( [id://494177]=note: print w/replies, xml ) Need Help??


in reply to strict refs usage

Everybody's told you all the reasons why you shouldn't do this, and given you all kinds of good alternatives. If, however, you really really have to do it this way, you can simply do the following to call the tests:
{ no strict 'refs'; &$_(); }
This will turn strict refs off for only the one statement and leave it on everywhere else.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2024-04-20 01:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found