|
|
| Think about Loose Coupling | |
| PerlMonks |
Re: my sub ?by maverick (Curate) |
| on Mar 25, 2002 at 19:57 UTC ( #154194=note: print w/ replies, xml ) | Need Help?? |
|
You could make anonymous subrouting references to (x) in sub a & b like so: The only thing that will look different is the call to the fucntion if you can live with that.
/\/\averick
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||