in reply to Re^2: Problem running cgi script (Exec format error)
in thread Problem running cgi script (Exec format error)
Putting it in a BEGIN is important because otherwise it won't have any affect when you say use GD a few lines later. See perlmod for all the details. But, this makes it especially important that the files in your home directory are readable by Perl, which is not running under your user but rather as the Apache account.BEGIN { unshift @INC, '/home/nagesh/progs/lib/perl5/i686-linux', '/home/nagesh/progs/lib/perl5/'; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Problem running cgi script (Exec format error)
by chakkaln (Sexton) on Jul 29, 2005 at 04:58 UTC |