- or download this
package Functions::Base;
use strict;
...
}
return 1;
- or download this
package Functions::Alternate;
use strict;
...
}
return 1;
- or download this
package Functions;
use strict;
...
our @ISA = qw(Exporter);
our @EXPORT_OK = (func1 func2 func3);
return 1;
- or download this
use strict;
use Functions::Base qw(func1 func2 func3);
...
func2;
func3;
print "\n";
- or download this
use strict;
use Functions::Alternate qw(func1 func2 func3);
...
func2;
func3;
print "\n";
- or download this
use strict;
use Functions qw(func1 func2 func3);
...
func2;
func3;
print "\n";