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

Re^2: Returning string and numerical data types from subroutines

by saurabh.hirani (Beadle)
on May 16, 2009 at 05:27 UTC ( [id://764391]=note: print w/replies, xml ) Need Help??


in reply to Re: Returning string and numerical data types from subroutines
in thread Returning string and numerical data types from subroutines

Thank you all for your feedback. I was avoiding the eval approach because I didn't want the program to die if the subroutine call fails. But then, as most of the posts suggested - its better to take matters in your own hands than to trust the library user with error checking and handling. Makes sense. I will keep that in mind.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2024-03-28 14:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found