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
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |