"be consistent" | |
PerlMonks |
Re: Preserving Calling Contextby dragonchild (Archbishop) |
on Apr 18, 2006 at 18:38 UTC ( [id://544145]=note: print w/replies, xml ) | Need Help?? |
So, it seems like there is a lot of checks to wantarray here. An alternative would be to have a giant if (wantarray) dividing the sub into two implementations.
Sounds like a good plan to me. My criteria for good software:
In Section
Seekers of Perl Wisdom
|
|