Can't locate Net/SNTP/Client.pm in @INC (you may need to install the Net::SNTP::Client module) (@INC contains: /home/tinyos/Desktop/Test /home/tinyos/Desktop/Test/ /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .) at client.pl line 8.
BEGIN failed--compilation aborted at client.pl line 8.
####
#!/usr/bin/perl
use strict;
use warnings;
use Exporter;
package Net::SNTP::Client;
use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS);
$VERSION = 1.00;
@ISA = qw(Exporter);
@EXPORT = ();
@EXPORT_OK = qw(func1 func2);
%EXPORT_TAGS = ( DEFAULT => [qw(&func1)],
Both => [qw(&func1 &func2)] );
sub func1 { return reverse @_ }
sub func2 { return map{ uc }@_ }
1;
####
#!/usr/bin/perl
use strict;
use warnings;
my @list = qw (J u s t ~ A n o t h e r ~ P e r l ~ H a c k e r !);
use lib '/home/username/Desktop/Test';
use Net::SNTP::Client qw(func1);
print func1(@list),"\n";