[EMAIL PROTECTED] wrote:
On unix, in vi:
:1,$s///
will delete all the dos '\r' line endings. That's Ctrl-V to get special
char mode, which ends up looking (here, anyway) like Ctrl-M. For
perl:
http://www.perlmonks.org/index.pl?node_id=36555
or (same page, only faster ;-):
http://perlmonks.the
On unix, in vi:
:1,$s///
will delete all the dos '\r' line endings. That's Ctrl-V to get special
char mode, which ends up looking (here, anyway) like Ctrl-M. For
perl:
http://www.perlmonks.org/index.pl?node_id=36555
or (same page, only faster ;-):
http://perlmonks.thepen.com/36555.html
I beli
Matt Schneider wrote:
Pankaj,
You say that when you develop them on the UNIX machine they run fine but
when you developed them on a Windows machine and save them to the UNIX
machine they don't run. The problem might be the difference between
Windows and UNIX new line characters. If you open
February 18, 2003
6:20 AMTo:
[EMAIL PROTECTED]Subject: RE:
[Perl-unix-users] Perl script on Apache Unix server
Hi,
do
you have the execute permissions for your script set for the user Apache is
running? Most likely Apache is running as user "apache" and you script do
Hi,
do you
have the execute permissions for your script set for the user Apache is running?
Most likely Apache is running as user "apache" and you script does not have
execute rights for others.
Martin
-Original Message-From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On
Add the following to the beginning of your
script.
#!/usr/bin/perl
use CGI::Carp qw(fatalsToBrowser);
….
This will output error messages to the
browser.
James C Schappet
Principal
Internet Competency Center
State Street Global Advisors Boston
617-664-5539 (Direct Lin