code snnipet line number wise

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

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.