in reply to Re^3: Variables from modulesin thread Variables from modules
$ 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 $ [download]
Dave.