On Thu, 30 Aug 2007 17:25:28 +0100, Beginner wrote: > On 30 Aug 2007 at 10:07, Mumia W. wrote: > >> On 08/30/2007 09:37 AM, Beginner wrote:
>> > q2) Will our $logfile now be a shared variable across all my modules? >> Try it and see. > > No. It's not. Yes. It is. It was declared (three posts earlier) with 'our', which means it's a package variable, and hence visible everywhere, provided you address it the right way, with either the package name in the variable, or (provided you're in the same package) a 'use vars' or 'our' statement. -- Peter Scott http://www.perlmedic.com/ http://www.perldebugged.com/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/