- or download this
#!/usr/bin/perl -w
use strict;
...
my $foo;
BEGIN { $foo = "bar" }
use License ($foo);
- or download this
package License;
use strict;
...
print "foo = $foo\n";
}
1;
- or download this
my $foo = "bar";
require License;
License->import($foo);