in reply to Re^13: the "our" declaration ?!! (special vars)
in thread the "our" declaration ?!!

Try commenting out

use vars qw($three $four);

in foo.pl. Then try commenting out

our $one; our $two;

in foo.pl

Replies are listed 'Best First'.
Re^15: the "our" declaration ?!! (special vars)
by LanX (Saint) on Jan 22, 2009 at 04:59 UTC
    Yeah but this saves just one line in foo.pl, a benefit restricted to cases where I don't wanna use the import() method!

    Sandy thanks for the code-example, makes it much clearer! : )