Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

•Re: calling sub and returning value from the same line

by merlyn (Sage)
on Jan 09, 2005 at 20:36 UTC ( [id://420742] : note . print w/replies, xml ) Need Help??


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

What value does "error" return? And if you didn't think that mattered, you need to rethink what "and" is actually doing there.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

  • Comment on •Re: calling sub and returning value from the same line