Re: Want to add exception for a auto run sub in module

2006-01-23 Thread Tom Phoenix
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 n

Re: Want to add exception for a auto run sub in module

2006-01-23 Thread Jimmy
Sorry for typing err for the sub name at the question part =( normal_header() and other_header() should aling with the sample code, so is NormalHeader() and OtherHeader(). - Original Message - From: "Jimmy" <[EMAIL PROTECTED]> To: "Perl Beginners" Sent: Monday, January 23, 2006 8:17 PM