P is for Practical | |
PerlMonks |
Re: subroutine refsby fenLisesi (Priest) |
on Nov 30, 2007 at 13:15 UTC ( [id://654098]=note: print w/replies, xml ) | Need Help?? |
It is likely that the application can (and perhaps should) be rearchitected, but let's not go there. In addition to the suggestions above, one quirky way would be to use OO syntax, but that would add an argument to all your sub definitions.
For example:
which prints
In Section
Seekers of Perl Wisdom
|
|