On 1/23/06, Jimmy <[EMAIL PROTECTED]> wrote:

> is there anyway I'll run normal_header() without specific argument,
> but don't run it if I pass whatever argument on the 'use' statement ?

I believe you're asking how a module can determine how it was 'use'd,
so as to provide default behavior when no import list is specified.
The documentation for 'use' in the perlfunc manpage covers the
'import' method, which is called when the import list is not missing;
does that give you what you need? Hope this helps!

--Tom Phoenix
Stonehenge Perl Training

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to