Re: writing to a text file ... sorry

2001-05-31 Thread Stephen P. Potter
Lightning flashed, thunder crashed and Nichole Bialczyk <[EMAIL PROTECTED]> whispered : | i'm sorry. i didn't think that you guys would want me to include my code. | i just assumed that i should try to make my question to the point with as | little text as possible. i am still having the same pr

Re: writing to a text file ... sorry

2001-05-31 Thread David Olbersen
On Thu, 31 May 2001, Jeff Pinyan wrote: > Mortal::Kombat (by me) allows you to say: > > flawless victory; # to end a program successfully > > and > > fatality "you have been thoroughly thrashed"; # like die() Oh japhy, you rule. `perl -MCPAN -e shell;` here I come! -- Dave

Re: writing to a text file ... sorry

2001-05-31 Thread Brett W. McCoy
On Thu, 31 May 2001, Jeff Pinyan wrote: > >The Koi or Mortal Kombat modules are good substitutes. :-) > > Heh, I think you mean Coy. Koi is a type of fish. ;) So is Carp. Coy (or Koi) are similar, only prettier. :-) -- Brett Brett W. McCoy Software Engineer Broadsoft, Inc. 240-364-5225 [EMAI

Re: writing to a text file ... sorry

2001-05-31 Thread Jeff Pinyan
On May 31, Brett W. McCoy said: >> NEVER tell a random browser what your error message is! >> >> AT BEST, you simply say "it broke, we know about it, sorry". > >The Koi or Mortal Kombat modules are good substitutes. :-) Heh, I think you mean Coy. Koi is a type of fish. ;) Coy (by Damian Conway

Re: writing to a text file ... sorry

2001-05-31 Thread Brett W. McCoy
On 31 May 2001, Randal L. Schwartz wrote: > Just remember to turn that off before you deploy the code for production. > > NEVER tell a random browser what your error message is! > > AT BEST, you simply say "it broke, we know about it, sorry". The Koi or Mortal Kombat modules are good substitutes

Re: writing to a text file ... sorry

2001-05-31 Thread Randal L. Schwartz
> "Brett" == Brett W McCoy <[EMAIL PROTECTED]> writes: Brett> Actually, if you use the CGI:Carp module (and import fatalsToBrowser), you Brett> can reduce this to a single line: Brett> use CGI::Carp qw(fatalsToBrowser); Just remember to turn that off before you deploy the code for productio

Re: writing to a text file ... sorry

2001-05-31 Thread Brett W. McCoy
On Thu, 31 May 2001, Craig Moynes/Markham/IBM wrote: > unless(open(LOG,">$logfile")) { > print "Content-type: text/html\n\n"; > print "Couldn't open $logfile. $!\n"; > print "At $date, $ENV{'REMOTE_HOST'} couldn't enter the site."; > exit; Actually, if you use the CGI:Car

Re: writing to a text file ... sorry

2001-05-31 Thread Paul
--- Nichole Bialczyk <[EMAIL PROTECTED]> wrote: > i'm sorry. i didn't think that you guys would want me to include my > code. i just assumed that i should try to make my question to the > point with as little text as possible. i am still having the same > problem (and i do have the "). Better to

Re: writing to a text file ... sorry

2001-05-31 Thread Craig Moynes/Markham/IBM
Bialczyk To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>cc:

Re: writing to a text file ... sorry

2001-05-31 Thread Brett W. McCoy
On Thu, 31 May 2001, Nichole Bialczyk wrote: > i'm sorry. i didn't think that you guys would want me to include my code. > i just assumed that i should try to make my question to the point with as > little text as possible. i am still having the same problem (and i do > have the "). here is my ex

Re: writing to a text file ... sorry

2001-05-31 Thread Nichole Bialczyk
i'm sorry. i didn't think that you guys would want me to include my code. i just assumed that i should try to make my question to the point with as little text as possible. i am still having the same problem (and i do have the "). here is my exact code: sub log { if (open(LOG,">$logfile"))