in reply to Re^3: Variables from modules
in thread Variables from modules

It works for me.
$ cat test.pm use strict; package test; our $foo = "test"; 1; $ cat p #!/usr/bin/perl -w use strict; use lib "."; use test; print $test::foo ."\n"; $ ./p test $

Dave.