Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^5: BEGIN and compile-time ($@)

by imp (Priest)
on Nov 10, 2006 at 19:57 UTC ( #583397=note: print w/ replies, xml ) Need Help??


in reply to Re^4: BEGIN and compile-time ($@)
in thread BEGIN and compile-time

That's a good point.
Could you provide an example of where a failed eval "use Foo" does not result in $@ being populated?


Comment on Re^5: BEGIN and compile-time ($@)
Download Code
Re^6: BEGIN and compile-time ($@)
by tye (Cardinal) on Nov 10, 2006 at 20:01 UTC

    It usually involves a "broken" object DESTROY method, usually one that uses eval but forgets to local( $@ ).

    - tye        

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2014-10-23 22:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (129 votes), past polls