Gentlemen, I am trying to put my Perl scripts into a common area in Win XP. I have tried setting the PERL5LIB variable but to no avail. It will not seek out my modules in that folder. Nor will it find the script passed to Perl from the command line. What magic words did I forget to speak before issuing the command. I have issued Perl -V and see the PERL5LIB variable in the listing at the end.

Original content restored above by GrandFather

Here is my Perl -V (End) Built under MSWin32 Compiled at Dec 9 2010 04:03:28 %ENV: PERL5LIB="C:\Tools\Perfstat\Viewer\na_psf\perfstat_filters" @INC: C:\Tools\Perfstat\Viewer\na_psf\perfstat_filters C:/Perl/site/lib C:/Perl/lib . C:\Tools\Perfstat\Viewer\na_psf\perfstat_filters> I have tried the slashed with both backslash and forward slash. C:\Tools\Perfstat\Viewer>perl psf_get_all_data.pl Can't open perl script "psf_get_all_data.pl": No such file or directory C:\Tools\Perfstat\Viewer>perl C:\Tools\Perfstat\Viewer\na_psf\perfstat_filters\ sf_get_all_data.pl 'psf_filers.pl' is not recognized as an internal or external command, operable program or batch file. 'psf_versions.pl' is not recognized as an internal or external command, operable program or batch file. C:\Tools\Perfstat\Viewer\na_psf\perfstat_filters>dir psf_get_all_data.pl Volume in drive C has no label. Volume Serial Number is 940B-DAAD Directory of C:\Tools\Perfstat\Viewer\na_psf\perfstat_filters 08/30/2007 05:54 PM 30,459 psf_get_all_data.pl 1 File(s) 30,459 bytes 0 Dir(s) 47,293,513,728 bytes free C:\Tools\Perfstat\Viewer\na_psf\perfstat_filters>

In reply to PERL5LIB in Win XP by tnhurst57

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.