in reply to
Very basic package / module question...
Not very basic at all.
You can put your goodbye into the ITALIAN namespace and import it by hand into
your working namespace as shown below. This kind of stuff
scales poorly.
#!/usr/bin/perl
use strict;
use warnings;
use SPEAK::ITALIAN;
package SPEAK::ITALIAN;
sub goodbye{
print GOODBYE . " in Italiano\n";
}
package main;
use vars "*goodbye";
*goodbye = \&SPEAK::ITALIAN::goodbye;
hello();
goodbye();
__DATA__
Hello in Italiano
Goodbye in Italiano
Be well,
rir