On 02/29/2008 06:57:52 PM, Tom Phoenix wrote:

-> >  I meant that "return" called alone simply gives you a zero.
->
-> Without an argument, return gives the sub's caller either undef or an
-> empty list, depending upon context.
-> What do you do with return that "gives you a zero"?

well you are certainly putting me in place, Tom, which is why i really, really shouldn't quack off the top of my head so.

I guess when i use return there is always something returned, so I was just presuming (wrongly, as you demonstrate) that otherwise return has a integer value like an exit code.

Your diligence is sincerely appreciated.

MK @ perl.beginners

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to