Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: If/Else statement in subroutine. How do i place it?by athomason (Curate) |
on Sep 04, 2000 at 07:48 UTC ( [id://30962]=note: print w/replies, xml ) | Need Help?? |
What's your question? Provided that yes and not are defined subs which do the appropriate things, this looks fine. If this code breaks, you'll need to provide more context (calling code, warnings, errors) before we can help.
Originally posted as a Categorized Answer.
In Section
Seekers of Perl Wisdom
|
|