Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: calling sub and returning value from the same line

by gaal (Parson)
on Jan 09, 2005 at 22:26 UTC ( [id://420759] : note . print w/replies, xml ) Need Help??


in reply to Re: calling sub and returning value from the same line
in thread calling sub and returning value from the same line

return; is almost always preferable to return undef;.