Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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?

Replies are listed 'Best First'.
Re^6: BEGIN and compile-time ($@)
by tye (Sage) 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 drinking their drinks and smoking their pipes about the Monastery: (9)
As of 2016-06-27 12:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (337 votes). Check out past polls.