RE: Perl line breaks

2003-08-04 Thread Mike Harrison
Hi Andrew, 1. Yes, I am using the same headers as the perl program that works, so don't think it is that - I will check that there is a blank line between the 'Content-Type:...' line and the next. 2. My first line in the perl program is: #!perl -w (being a Windows-based server, it doesn't require

Re: Mail::Send question

2003-08-04 Thread Wiggins d'Anconia
Camilo Gonzalez wrote: Todd W. wrote: "Camilo Gonzalez" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Definitely avoid this if possible, there are numerous mail message modules, one of them is bound to provide what you need. Why is sendmail held in such low regard by this g

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

Re: cookies with CGI and IE7

2003-08-04 Thread Todd W.
"Andrew Brosnan" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Anyone having trouble setting or retrieving cookies with CGI.pm and IE7? > > I'm doing: > my $cookie = $q->cookie( -name=> 'session', > -value => $session, >

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

Re: cookies with CGI and IE7

2003-08-04 Thread Wiggins d'Anconia
Andrew Brosnan wrote: Anyone having trouble setting or retrieving cookies with CGI.pm and IE7? I'm doing: my $cookie = $q->cookie( -name=> 'session', -value => $session, -expires => '3h', print $q->header( -cookie => $cookie);

Re: Preserve line endings via ftp

2003-08-04 Thread Octavian Rasnita
If you set the transfer method to binary, the file is sent as it is, without changing anything. If you set it to ascii, the end of line character is set to lf for Unix/Linux, crlf for Windows, and cr for Mac. If your FTP program or the FTP library you use is not doing this correctly, this means th

cookies with CGI and IE7

2003-08-04 Thread Andrew Brosnan
Anyone having trouble setting or retrieving cookies with CGI.pm and IE7? I'm doing: my $cookie = $q->cookie( -name=> 'session', -value => $session, -expires => '3h', print $q->header( -cookie => $cookie); I got some feedback

Re: Mail::Send question

2003-08-04 Thread Kristofer Hoch
>> Fine, go get the SendMail book, rent a truck to bring it home in, A very large truck, OR the Abridged version. >>The box said 'Windows XP or better' so I chose Mac OS X. Must have been a trick requirement. Nearly everything is better. = -BEGIN GEEK CODE BLOCK- Version: 3.12 GIT d

RE: Preserve line endings via ftp

2003-08-04 Thread Peter Fleck
Setting the transfer type to binary didn't work. Reading perldoc Net::FTP did: ASCII is the default type, and indicates that the sender of files will translate the ends of lines to a standard representation which the receiver will then translate back into their

RE: Mail::Send question

2003-08-04 Thread Scot Robnett
Yep, if you want to bring that book home - drink some protein shakes, take your vitamins, and work out for a month before you buy it. - Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] -Original Message- From: Andrew Brosnan [mailto:[EMAIL PROTECTED] Sent: Monday, August 04,

Re: Mail::Send question

2003-08-04 Thread Andrew Brosnan
On 8/4/03 at 11:06 AM, [EMAIL PROTECTED] (Camilo Gonzalez) wrote: > I sometimes wonder if all this shielding of intricacies is necessarly > a good thing. Shouldn't I know how to use sendmail? I guess I'm a DIY > kind of guy and I want to know how sendmail works. Fine, if a module > makes it all ea

Re: Mail::Send question

2003-08-04 Thread Camilo Gonzalez
Todd W. wrote: "Camilo Gonzalez" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Definitely avoid this if possible, there are numerous mail message modules, one of them is bound to provide what you need. Why is sendmail held in such low regard by this group? Most on thi

RE: Preserve line endings via ftp

2003-08-04 Thread wiggins
On Mon, 4 Aug 2003 10:47:42 -0500, Peter Fleck <[EMAIL PROTECTED]> wrote: > Greetings, > > I'm using Net::FTP to move a file from a Linux server to a Novell > server. Before I move the file, I have perl change all the line > endings from unix-ba

Preserve line endings via ftp

2003-08-04 Thread Peter Fleck
Greetings, I'm using Net::FTP to move a file from a Linux server to a Novell server. Before I move the file, I have perl change all the line endings from unix-based to DOS-based. The line endings seem to get lost during the ftp process and end up as unrecognized characters (at least when viewi