Wrox Programmer Forums
|
BOOK: Beginning Red Hat Linux 9
This is the forum to discuss the Wrox book Beginning Red Hat Linux 9 by Sandip Bhattacharya, Pancrazio De Mauro, Mark Mamone, Kapil Sharma, Deepak Thomas, Simon Whiting, Shishir Gundavaram; ISBN: 9780764543784
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Red Hat Linux 9 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 5th, 2004, 01:36 PM
Registered User
 
Join Date: Nov 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Perl in RH9

Hi All,
I have installed RH9 from these disks several times and keep ending up with the same problem.
RH9 is the only OS on my system.
Perl scripts do not work from the WebServer.
They will work from the command line if I include the "perl" or "./" prefix, i.e."perl /var/www/cgi-bin/testPerl.pl". They won't work if I run them by just their name without the prefix, which should also work.
Permissions on the files are 755.
The first line of each file is "#!/usr/bin/perl". That is the correct directory to perl when I run "whereis perl". I also tried "#!/usr/bin/env perl" without sucess.
If anyone has any ideas I would sincerely appreciate it.
Thanks,
Jeff Daniels





Similar Threads
Thread Thread Starter Forum Replies Last Post
Perl help ZORCH Perl 3 April 25th, 2007 12:09 PM
Help with learning perl philrobeson Intro Programming 2 January 26th, 2007 12:57 PM
perl vidura Perl 6 December 7th, 2006 06:50 AM
perl jeet Perl 1 March 6th, 2006 05:06 PM
Beginning Perl toma All Other Wrox Books 6 August 10th, 2005 11:22 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.