- or download this
use Module LIST;
- or download this
require Module;
Module->import LIST if Module->can('import');
- or download this
test1.pl:2 use strict;
test1.pl:4 use lib qq{/usr/web/wonko/test/lib/SYS};
...
if SYS_mail->can('import');
ERROR!!
- or download this
use vars qw(@ISA @EXPORT_OK);
use Exporter();
@ISA = qw(Exporter);
@EXPORT_OK = qw( send_notice );
- or download this
/usr/web/wonko/test/AB/AB_prod.pm
#--------------------------------------------------------------------
...
}
1;
#--------------------------------------------------------------------
- or download this
/usr/web/wonko/test/lib/SYS/SYS_mail.pm
#--------------------------------------------------------------------
...
}
1;
#--------------------------------------------------------------------
- or download this
use strict;
use warnings;
...
======
Hello from AB_prod::send_notice
Hello from SYS_mail::send_mail