Koozali.org: home of the SME Server

Perl Path...

Leigh Gardiner

Perl Path...
« 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?

Scott Smith

Re: Perl Path...
« Reply #1 on: August 13, 2002, 05:48:37 PM »
# which perl

Jon Blakely

Re: Perl Path...
« Reply #2 on: August 13, 2002, 06:22:56 PM »
try

/usr/bin/perl

Jon

Leigh Gardiner

Re: Perl Path...
« Reply #3 on: August 14, 2002, 02:09:22 PM »
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...

Charlie Brady

Re: Perl Path...
« Reply #4 on: August 14, 2002, 07:30:50 PM »
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

Greg Zartman

Re: Perl Path...
« Reply #5 on: August 14, 2002, 08:14:01 PM »
> 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