RE: Variable scope and definition

2001-07-20 Thread Mooney Christophe-CMOONEY1
er $test/; and then define them later. -Original Message- From: perl newbie [mailto:[EMAIL PROTECTED]] Sent: Friday, July 20, 2001 3:25 PM To: [EMAIL PROTECTED] Subject: Re: Variable scope and definition I am trying to understand the correct way to define variables and their scope. Here

Re: Variable scope and definition

2001-07-20 Thread Jeff 'japhy/Marillion' Pinyan
On Jul 20, perl newbie said: >I am trying to understand the correct way to define >variables and their scope. > >Here are two simple PERL ( test1.pl and test2.pl >)scripts. test1.pl work fine, while test2.pl does not. > >Would appreciate any help in understanding why >test2.pl is complaining abo

Re: Variable scope and definition

2001-07-20 Thread perl newbie
I am trying to understand the correct way to define variables and their scope. Here are two simple PERL ( test1.pl and test2.pl )scripts. test1.pl work fine, while test2.pl does not. Would appreciate any help in understanding why test2.pl is complaining about "Global symbols" Thanks PN test