The stupid question is the question not asked | |
PerlMonks |
Re: Module Style and Usageby Smylers (Pilgrim) |
on Sep 07, 2005 at 13:23 UTC ( [id://489862]=note: print w/replies, xml ) | Need Help?? |
Hi. You're right that option 3 is poor from a documentation point of view — the person reading the main script and encountering the timestamp function can't see where it's defined. But you don't have to go as far as option 2 and fully qualify the name every time. Just change the use statement to:
and then it's clear exactly where that function is coming from. Smylers
In Section
Seekers of Perl Wisdom
|
|