Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

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
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?

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2015-10-09 05:43 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (233 votes), past polls