On Oct 30, 9:38 am, [EMAIL PROTECTED] (Ron Bergin) wrote:
> > On 10/30/07, howa <[EMAIL PROTECTED]> wrote:
>
> > > Consider the example below...
>
> > > Config.pl
> > > ======
>
> > > #!/usr/bin/perl -w
>
> > > my $value = "abc";
> In addition to changing 'my' to our' in Config.pl, you'll also need to
> add the 'our $value;' to Script.pl

Blatantly untrue.  The OP was not using strict.  'our' is only
required to be able to refer to global variables without qualifying
them when strict 'vars' is in use.  If there is no strict, 'our' is a
no-op.

Paul Lalli


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to