Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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?
marioroy concurrent Tie::File among many workers is possible via MCE::Shared.
marioroy Ditto for DB_File, BerkeleyDB, etc. ;-)

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (2)
As of 2017-08-18 07:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (296 votes). Check out past polls.

    Notices?