TechTricks
Technical answers from the trenches 
 
 
 
 

     
   
Perl: Locating Perl
 
   
 Posted: 10 September 2000
 
   
Based on a variety of sources 
 Applies to: Perl 5.x
 
   
 
Audience: Beginner
 
       
   

Question: I understand that the first line of all perl scripts need to point to the location of perl itself. How do I find perl on my Unix server?

Answer: Telnet into your Unix server and then type the following command from your shell's command line:

   which perl

You'll receive a message describing location of perl, as shown in the following sample reported by the server hosting this website:

   /usr/bin/perl

For more information, see the man page for which.

 

       

Top

Feedback About Paradox Delphi Assorted Web Stuff
 
 
Copyright © 2000-2004, techtricks.com; All Rights Reserved.
Acknowledgements, Disclaimers, Terms and Conditions.
Article last updated on 31 May 2003

 

Other Sites: Paradox, Delphi, Perl, Web Stuff, and More


 

[- End -]