Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

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 meditating upon the Monastery: (9)
As of 2015-11-25 19:27 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (686 votes), past polls