Sorry if I seem a bit air headed. I'm still learning.

There's a lot of back story to this but putting it simply, I'm running Linux Fedora 20 on a bootable USB stick but I've ecountered the same problems(and more problems) on Vista and Win7 with Strawberry.

system Perl was not with the bootable OS so I installed it with sudo yum install perl.

As per your suggestion I looked into the $PATH enviroment variable. After installing Perl the perl and perldoc commands worked without /usr/bin/perl being a part of the enviroment variable. I assume those codes worked because even though Shebang line of my programs would validly be #!/usr/bin/perl the perl part of the code isnt a directory so since the $PATH enviroment variable included /usr/bin the bash commands worked.

I've started rambling on. I'm going to study up more on PATH and enviroment to see if I can fix this. Thanks for the tip. I added /usr/bin/perl to the PATH variable but of course that did nothing. My current $PATH is as follows.

[root@localhost ~]# echo $PATH /usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/home/IrishMonk +/.local/bin:/home/IrishMonk/bin:/usr/bin/perl

If I type perl -v the output looks like this

[root@localhost ~]# perl -v This is perl 5, version 18, subversion 2 (v5.18.2) built for i386-linu +x-thread-multi (with 18 registered patches, see perl -V for more detail) Copyright 1987-2013, Larry Wall Perl may be copied only under the terms of either the Artistic License + or the GNU General Public License, which may be found in the Perl 5 source ki +t. Complete documentation for Perl, including FAQ lists, should be found +on this system using "man perl" or "perldoc perl". If you have access to + the Internet, point your browser at http://www.perl.org/, the Perl Home Pa +ge.

In reply to Re^2: cpanminus installing but not working by IrishMonk
in thread cpanminus installing but not working by IrishMonk

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.