- or download this
use warnings;
use strict;
...
use My::Mondo::Class_1;
use My::Mondo::Class_2;
use My::Mondo::Class_3;
- or download this
use strict;
use warnings;
...
# in the sequence, i.e. if this is My::Mondo::Class_2 then
# it only references variables and methods in
# My::Mondo::Class and My::Mondo::Class_1
- or download this
#Foo.pm
use strict;
...
# as the package is Foo (which it is)
print hello() . ": Hello=$Foo::HELLO, Goodbye=$Foo::GOODBYE\n";