Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: path to perl interpreter

by rnahi (Curate)
on Sep 29, 2005 at 07:36 UTC ( #496006=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
     $ cat whichperl.pl
    #!/usr/bin/perl
    
    printf "operating system: %s\n executable: %s\n", $^O,  $^X, ;
    
  2. or download this
     
    $ perl whichperl.pl
    operating system: linux
    ...
    $ ./whichperl.pl
     operating system: linux
     executable: /usr/bin/perl
    
  3. or download this
    $ perl whichperl.pl
     operating system: freebsd
     executable: /usr/local/bin/perl
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://496006]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (13)
As of 2014-07-24 18:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (165 votes), past polls