2. My first line in the perl program is: #!perl -w (being a Windows-based
server, it doesn't require the full path. The -w to warn of errors/mistakes
etc.)
I think in Windows, -w isn't enough. The #!perl line is ignored in most
windows installations/configurations , and the file association is u
...and you don't need to print the HTML header in the BEGIN {} block.
You can just print it at the top of the perl program or in the middle of the
program but before anything else is printed.
if something is dieing in a module you are loading, you will never know
about it because it will never ge
his one :(
Regards,
Mike.
-Original Message-
From: Octavian Rasnita [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 06 August, 2003 2:30 AM
To: Jon Hogue
Cc: Mike Harrison; 'Andrew Brosnan'; [EMAIL PROTECTED]
Subject: Re: Perl line breaks
For troubleshooting a script you can take
uot;Mike Harrison" <[EMAIL PROTECTED]>; "'Andrew Brosnan'"
<[EMAIL PROTECTED]>; "Mike Harrison" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, August 05, 2003 4:21 AM
Subject: RE: Perl line breaks
>2. My first line in the perl progr
PROTECTED]
- Original Message -
From: "Mike Harrison" <[EMAIL PROTECTED]>
To: "'Andrew Brosnan'" <[EMAIL PROTECTED]>; "Mike Harrison"
<[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, August 05, 2003 3:07 AM
Subject: RE: Perl
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, 06 August, 2003 2:30 AM
To: Jon Hogue
Cc: Mike Harrison; 'Andrew Brosnan'; [EMAIL PROTECTED]
Subject: Re: Perl line breaks
For troubleshooting a script you can take a look in the server's log file
and you will find there any error.
Teddy,
Ted
Mike Harrison wrote:
Hello all,
Well, I have spent the last few nights messing around trying to work out why
one of my PERL programs doesn't work. If anybody can shed some light on
this, I might be able to get some sleep :)
I am using a hosting service to host my web site, and they use a Microso
Hogue
Cc: 'Andrew Brosnan'; [EMAIL PROTECTED]
Subject: Re: Perl line breaks
This code is working fine under Windows, but maybe you have made some
mistakes in your subroutine that prints the header...
You don't need to print so many separate lines using the print "..."
p://teddy.fcc.ro/
Email: [EMAIL PROTECTED]
- Original Message -
From: "Mike Harrison" <[EMAIL PROTECTED]>
To: "'Octavian Rasnita'" <[EMAIL PROTECTED]>; "Jon Hogue" <[EMAIL PROTECTED]>
Cc: "'Andrew Brosnan'" <[EMAIL
print "\n\n";
print "\n\n";
} # End HTML_ender
return 1;
-Original Message-
From: Camilo Gonzalez [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 06 August, 2003 1:20 AM
To: Mike Harrison
Cc: [EMAIL PROTECTED]
Subject: Re: Perl line breaks
Mike Harrison wrote:
>H
Rasnita" <[EMAIL PROTECTED]>
Cc: "Mike Harrison" <[EMAIL PROTECTED]>; "'Andrew Brosnan'"
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, August 05, 2003 4:19 PM
Subject: Re: Perl line breaks
>
>...and you don't need to pri
AM
To: Mike Harrison
Cc: [EMAIL PROTECTED]
Subject: Re: Perl line breaks
On 8/5/03 at 9:32 AM, [EMAIL PROTECTED] (Mike Harrison)
wrote:
> Hello all,
>
> Well, I have spent the last few nights messing around trying to work
> out why one of my PERL programs doesn't work.
s/
On 8/5/03 at 9:32 AM, [EMAIL PROTECTED] (Mike Harrison)
wrote:
> Hello all,
>
> Well, I have spent the last few nights messing around trying to work
> out why one of my PERL programs doesn't work.
s/Perl/PERL/
> With one program, I am getting an error message as follows:
>
> CGI Error The sp
Hello all,
Well, I have spent the last few nights messing around trying to work out why
one of my PERL programs doesn't work. If anybody can shed some light on
this, I might be able to get some sleep :)
I am using a hosting service to host my web site, and they use a Microsoft
NT-based server
14 matches
Mail list logo