Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: Re: Building an anonymous subroutine

by Anonymous Monk
on Aug 13, 2002 at 00:37 UTC ( #189684=note: print w/replies, xml ) Need Help??

in reply to Re: Building an anonymous subroutine
in thread Building an anonymous subroutine

Doing an eval without checking $@ and throwing a useful error message is a really bad idea. I would also suggest reading the section on Plain Old Comments in perlsyn and using that to cause any errors thrown from within the subroutine to have more useful and meaningful names than just eval 38.
  • Comment on Re: Re: Building an anonymous subroutine

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (9)
As of 2016-10-25 11:12 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (317 votes). Check out past polls.