Perl-Sensitive Sunglasses | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I read Defining a sub within a sub: OK? with interest, but consider the following
The above works, but what all sentiments and principles am I violating here? (besides, of course, Blond highlights with a hint of purple are just "so 2007 Essentially, bar() will never be called from outside foo(), and makes sense only within the context of foo(). In case I shouldn't be doing the above, then how should I rewrite it?
--
when small people start casting long shadows, it is time to go to bed In reply to a sub within a sub -- revisiting by punkish
|
|