CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Beginner:
about the perl directory


New User

Jul 30, 2002, 3:47 AM

Post #1 of 2 (1121 views)
about the perl directory Can't Post

okay i downloaded some cgi scripts and on each of the cgi files on the first line of code is this annoying path named /usr/bin/perl. what is that, i looked all on my FTP server but i do not see that directory anywhere i only have a cgi_bin folder and an index folder.... i have no idea..

can somone give me any pointers on what to do, where to create the directory for /usr/bin/perl, and what to do when i see the directory line in another cgi file... what to do i am soo confused!!! Frown

Enthusiast / Moderator

Jul 30, 2002, 5:11 AM

Post #2 of 2 (1120 views)
Re: [bunny2001] about the perl directory [In reply to] Can't Post

You don't have to create that directory, it's most probably already there.
It's just that you only see *your private* directory when using FTP, you won't see the system directories such as /usr/bin.

You don't have to do anything, except to make sure that your provider has installed perl as /usr/bin/perl. Some providers have it installed in a different location (e.g. /usr/local/bin/perl), in this case you'll have to change the first line of each of your cgi-scripts to that path.
Most providers tell you in their FAQ where the perl executable is installed.

Hope this helps.

-- mhx

At last with an effort he spoke, and wondered to hear his own words, as if some other will was using his small voice. "I will take the Ring," he said, "though I do not know the way."

-- Frodo


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives