Contents of my_script.pl and modules are
Line# 1 ## Comments .. 11## Comments 12 13 use strict; 14 15 use Getopt::Std; # Command line options processing 16 17 use lib "/app/base_lib/cpath1"; ---->18 use mypkg1::common_mod2 qw(:all);
Contents of common_mod2.pm are
Line# 1 package mypkg1::common_mod2; 2 3 ################################################ #commnets .. .. 12 ################################################ 13 14 use strict; 15 use LWP::UserAgent; 16 use HTTP::Request::Common; 17 use XML::Simple; 18 19 use lib "/app/base_lib/cpath1"; ---->20 use mypkg1::common_mod1 qw(:all);
Contents of common_mod1.pm are
Line# 1#comments .. 82#comments 83 # Listed here are the other packages 84 use Cwd qw(abs_path); 85 use File::Basename; 86 use Fcntl qw( :flock ); 87 use lib "/app/base_lib/cpath1"; ---->88 use MYLIBS qw( :all ); 89 use MYLogging; 90 use Digest::SHA1 qw(sha1_hex);
Contents of MYLIBS.pm are
Line 1 # .. 15 ############################################################## +########## ##### 16 package MYLIBS; 17 18 use strict; 19 use XML::Simple; 20 use Data::Dumper;
In reply to Re^2: Can't locate object method "new" via package "XML::LibXML::SAX"
by rupesht
in thread Can't locate object method "new" via package "XML::LibXML::SAX"
by rupesht
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |