- or download this
use strict;
use warnings;
...
our $pathbar = '/otherpath/bar';
1;
- or download this
#!/usr/bin/env perl
use strict;
...
use MyPaths '/path/';
print "paths are $pathfoo and $pathbar\n";
- or download this
$ ./importtest.pl
paths are /path/foo and /otherpath/bar
$