RE: Perl line breaks

2003-08-14 Thread Jonathan Hogue
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

Re: Perl line breaks

2003-08-14 Thread Jon Hogue
...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

RE: Perl line breaks

2003-08-14 Thread Mike Harrison
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

Re: Perl line breaks

2003-08-14 Thread Octavian Rasnita
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

Re: Perl line breaks

2003-08-14 Thread Octavian Rasnita
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

Re: Perl line breaks

2003-08-14 Thread Camilo Gonzalez
[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

Re: Perl line breaks

2003-08-10 Thread Camilo Gonzalez
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

RE: Perl line breaks

2003-08-10 Thread Mike Harrison
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 "..."

Re: Perl line breaks

2003-08-07 Thread Octavian Rasnita
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

RE: Perl line breaks

2003-08-06 Thread Mike Harrison
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

Re: Perl line breaks

2003-08-05 Thread Octavian Rasnita
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

RE: Perl line breaks

2003-08-04 Thread Mike Harrison
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/

Re: Perl line breaks

2003-08-04 Thread Andrew Brosnan
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

Perl line breaks

2003-08-04 Thread Mike Harrison
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