Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^4: Help Changing use into require/import

by stevieb (Canon)
on Mar 07, 2018 at 22:06 UTC ( [id://1210486]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Help Changing use into require/import
in thread Help Changing use into require/import

It's pretty rare that the issues I pointed out will crop up, but I thought I'd raise them here just in case.

I hate to call it a "race condition" (because technically it isn't), but it is something to be aware of, and I found out about the 1; trick after spending hours sorting out why some of my tests were failing (a previous call to eval's error was being reset, causing all sorts of grief later on).

Only wanted to state it here as although I don't believe it's an official "best practice" or "perl idiom", it really ought to be :)

Besides, I explicitly don't like string eval, so avoid it wherever feasible/possible.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (2)
As of 2024-04-26 00:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found