Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Leigh Gardiner on August 13, 2002, 05:44:42 PM
-
Where is the path to perl?
normally its in /usr/local/bin/perl but i can't seem to find it on SME...or does it not have it installed?
-
# which perl
-
try
/usr/bin/perl
Jon
-
cool. /usr/bin/perl worked
thats not the actual path to perl tho is it...what is that file? i had a look at it buts its no human readable...
-
Leigh Gardiner wrote:
> thats not the actual path to perl tho is it...what is that
> file?
It's the actual path to perl.
According to Larry Wall, it's the only correct path to perl.
Charlie
-
> cool. /usr/bin/perl worked
> thats not the actual path to perl tho is it...what is that
> file? i had a look at it buts its no human readable...
[root@server root]# ll /usr/bin/perl*
-rwxr-xr-x 2 root root 797972 Feb 20 12:0
7 /usr/bin/perl
-rwxr-xr-x 2 root root 797972 Feb 20 12:0
7 /usr/bin/perl5.6.1
-rwxr-xr-x 1 root root 35465 Feb 20 12:0
5 /usr/bin/perlbug
-rwxr-xr-x 1 root root 16920 Feb 20 12:0
5 /usr/bin/perlcc
-rwxr-xr-x 1 root root 22631 Feb 20 12:0
5 /usr/bin/perldoc
I'm not sure how much more "actual" that you can get than that. Perl isn't some sort of mysterious system that just exists out there. It's simply an executable that reads in code, compiles the code, and then finally executes the code.
Greg