|
|
| "be consistent" | |
| PerlMonks |
Re: Re: Re: Re: Using a subroutine as a moduleby bobn (Chaplain) |
| on Nov 03, 2003 at 15:43 UTC ( #304135=note: print w/ replies, xml ) | Need Help?? |
|
Sorry, I disagree. Modularization of code is desirable. IMHO, using a dummy object to acheive this is more valid than fully qualifying the calls for the following reasons:
Besides, fully qualified calls just look ugly to me, though I suppose it's safer than trusting multiple modules not to stomp on each other or your own functions. Using object methods are also fully qualified. --Bob Niederman, http://bob-n.com All code given here is UNTESTED unless otherwise stated.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||