March 21, 2003
Fabrizio Coccetti - Stanford Linear Accelerator Center
9
How to use a PM in a Perl program
n
Another way is to use @EXPORT_OK in the Perl Module:
n
@EXPORT_OK
= qw(ping_it log_it);
n
And in the Perl Program
n
use IEPM::PingER qw(log_it)
use IEPM::PingER;
$answer = ping_it (host.domain.edu);