Re: Include variables from external perl script
- From: howachen@xxxxxxxxx (Howa)
- Date: Tue, 30 Oct 2007 19:50:58 -0700
On 10 30 , 9 38 , r...@xxxxxxxxxx (Ron Bergin) wrote:
On Oct 30, 3:34 am, pa...@xxxxxxxxxxxxx (Jeff Pang) wrote:
In addition to changing 'my' to our' in Config.pl, you'll also need to
add the 'our $value;' to Script.pl
yes you are right, I need to include `our` twice to make the code work
if using strict.
however, this seems to be a little dummy to declare the same variable
twice, any better method(s)?
thanks,
.
- References:
- Include variables from external perl script
- From: Howa
- Re: Include variables from external perl script
- From: Jeff Pang
- Re: Include variables from external perl script
- From: Ron Bergin
- Include variables from external perl script
- Prev by Date: Re: Hash Variables
- Next by Date: problem in returning the hash reference
- Previous by thread: Re: Include variables from external perl script
- Next by thread: Split function
- Index(es):
Relevant Pages
|