• Subject: More Perl questions.
  • From: "William Corbett" <corbett@xxxxxxxxxxxxxxx>
  • Date: Mon, 13 Nov 2000 11:56:21 -0800
  • Importance: Normal

Thanks to midrange-l  postings, I got perl installed on my AS400...I think.
Now, the software I'm trying to install says in the docs:
1. Set your server's path to Perl as the very first line of the script. This
is a necessary part of installing any Perl script. That is, in order for a
script to run properly, you must specify the path to Perl as the very first
line of the script. You can usually find out what the path to Perl on your
server is by checking out your Web Hosting Provider's "CGI Help Page".
Otherwise, just ask you Web Hosting Provider what the path to Perl is on
their server. Typical values for the path to Perl are:

#!/usr/bin/perl

or

#!/usr/sbin/perl

or for NT servers:

#!C:/perl/perl.exe

Note that you must include the "#!" before the actual path.
What is this looking for?  A perl.exe?  I don't have one.

Any idea what I should change the path to?

The (relevant) directory structure in OpsNav looks like:
File systems
   IFS
      Root
         Usr
         |   Local
         |       Lib
         |           Perl5
         |                5.00502
         |                dbsamples
         |                 site_perl
         |                        5.005
         |                             os400
         web
             domain_name_dir
                  cgi  <---perl scripts are here
                  classes
                  html
                  etc,etc
I can probably move this website to my ISP's server and have it working
quickly, but I'd like to make this work on my 170
IBM online says "don't call supportline....." on perl questions.

Thanks for your help...

corbett@asresources.com
http://www.cbt400.com
http://www.asresources.com


+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.