Perhaps, it is useful to see which files were included during execution, in order to have a reference?

use strict; use warnings; #-- example use Getopt::Long; #-- example / somewhere in your code or imported modules require Math::BigInt; #-- ... more ... #-- at the end, we should have seen them all END { print "VERSION / MODULE / PATH:\n"; for my $module (sort keys %INC) { my $mod_name = $module; $mod_name =~ s{/}{::}; $mod_name =~ s/\.pm$//i; #-- perhaps, the module author followed the convention? my $ver = eval "\$${mod_name}::VERSION" || '?'; printf "%-8s %-35s %s\n", $ver, $mod_name, $INC{$module}; } }

Example output on my host:

VERSION / MODULE / PATH: 1.3301 Carp /opt/perl-5.18.2/lib/site +_perl/5.18.2/Carp.pm 5.70 Exporter /opt/perl-5.18.2/lib/site +_perl/5.18.2/Exporter.pm 5.70 Exporter::Heavy /opt/perl-5.18.2/lib/site +_perl/5.18.2/Exporter/Heavy.pm 2.45 Getopt::Long /opt/perl-5.18.2/lib/site +_perl/5.18.2/Getopt/Long.pm 1.9993 Math::BigInt /opt/perl-5.18.2/lib/5.18 +.2/Math/BigInt.pm 1.27 constant /opt/perl-5.18.2/lib/5.18 +.2/constant.pm 1.22 overload /opt/perl-5.18.2/lib/5.18 +.2/overload.pm 0.02 overloading /opt/perl-5.18.2/lib/5.18 +.2/overloading.pm 1.07 strict /opt/perl-5.18.2/lib/5.18 +.2/strict.pm 1.03 vars /opt/perl-5.18.2/lib/5.18 +.2/vars.pm 1.18 warnings /opt/perl-5.18.2/lib/5.18 +.2/warnings.pm 1.02 warnings::register /opt/perl-5.18.2/lib/5.18 +.2/warnings/register.pm


In reply to Re: How do I know if a package is on my server? by Perlbotics
in thread How do I know if a package is on my server? by gsd4me

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.