[prev in list] [next in list] [prev in thread] [next in thread] 

List:       perl-beginners
Subject:    Re: Include variables from external perl script
From:       63.251.223.186
Date:       2007-10-31 2:50:58
Message-ID: 1193799058.221194.68020 () e9g2000prf ! googlegroups ! com
[Download RAW message or body]

On 10 30 ,   9 38 , r...@i.frys.com (Ron Bergin) wrote:
> On Oct 30, 3:34 am, pa...@earthlink.net (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,


-- 
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic