Re: Fwd: Re: Declare $main::scalar in begin with 'use strict'

2002-11-26 Thread Dr. Poo
Thanks Paul for the perl5005delta inforomation. That's some good information! Chris On Friday 22 November 2002 06:13 am, Paul Johnson wrote: > Dr. Poo said: > > This worked perfectly. Why the hell havn't i ever seen INIT before? > > You haven't read perl5005delta? INIT is still fairly

Re: Fwd: Re: Declare $main::scalar in begin with 'use strict'

2002-11-22 Thread Paul Johnson
Dr. Poo said: > This worked perfectly. Why the hell havn't i ever seen INIT before? You haven't read perl5005delta? INIT is still fairly new - CHECK is even newer. Their initial purpose was to help the compiler. perldoc perlmod for the gory details. > One more thing though. In my code, i *HA

Fwd: Re: Declare $main::scalar in begin with 'use strict'

2002-11-21 Thread Dr. Poo
-- Forwarded Message -- Subject: Re: Declare $main::scalar in begin with 'use strict' Date: Thu, 21 Nov 2002 16:51:43 -0600 From: Dr. Poo <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Dude, you rule. That's all i have to say besides, yah, you rule. This work

Re: Declare $main::scalar in begin with 'use strict'

2002-11-19 Thread Jeff 'japhy' Pinyan
On Nov 19, Wiggins d'Anconia said: >Jeff 'japhy' Pinyan wrote: > > >> If you're using Perl 5.6, I have the solution for you. You can use the >> INIT block. It is executed immediately after compile-time. > >For clarification, this is 5.6. and anything after, correct? Yes, good point. -- Jeff "

Re: Declare $main::scalar in begin with 'use strict'

2002-11-19 Thread Wiggins d'Anconia
Jeff 'japhy' Pinyan wrote: If you're using Perl 5.6, I have the solution for you. You can use the INIT block. It is executed immediately after compile-time. For clarification, this is 5.6. and anything after, correct? http://danconia.org -- To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Declare $main::scalar in begin with 'use strict'

2002-11-19 Thread Jeff 'japhy' Pinyan
On Nov 19, Dr. Poo said: >I'm trying to declare a variable $log that is a reference to an array that >will contain the small amounts of data that need to be logged throughout a >backup script i'm working on. I'd like to declare this scalar reference in >the BEGIN function, but i can't use it outsi

Re: Declare $main::scalar in begin with 'use strict'

2002-11-19 Thread Wiggins d'Anconia
Dr. Poo wrote: I'm trying to declare a variable $log that is a reference to an array that will contain the small amounts of data that need to be logged throughout a backup script i'm working on. I'd like to declare this scalar reference in the BEGIN function, but i can't use it outside of the

Declare $main::scalar in begin with 'use strict'

2002-11-19 Thread Dr. Poo
I'm trying to declare a variable $log that is a reference to an array that will contain the small amounts of data that need to be logged throughout a backup script i'm working on. I'd like to declare this scalar reference in the BEGIN function, but i can't use it outside of the BEGIN function if