- or download this
package Mytest;
use strict;
...
my $var = 1;
1;
- or download this
use strict;
use warnings;
use Mytest;
print $Mytest::var . "\n";
- or download this
use strict;
use warnings;
use Mytest;
print $var;
- or download this
use Mytest;
print $var;
- or download this
use Mytest;
print $Mytest::var;
- or download this
#!/usr/bin/perl -w
...
print "P3:\n";
printit($p3);
print " (As expected, no issues at all).\n";