Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: I use return on a subroutine

by iblech (Friar)
on Nov 09, 2004 at 15:44 UTC ( [id://406364] : note . print w/replies, xml ) Need Help??


in reply to I use return on a subroutine

Usually, I don't use return for very small subs:

sub property { $_[0]->{property} }

I do use it for most larger subs.