Seyi Ogunbona wrote:
>
> Hi,
Hello
> Two things.
> Firstly, I would like to know if it is possible to
> write in a program or script in perl to read a set of
> two numbers seperated by a comma, I have exported to
> a text file and the put
> the numbers in another table as arguements.
Yes, i
Hi,
Two things.
Firstly, I would like to know if it is possible to
write in a program or script in perl to read a set of
two numbers seperated by a comma, I have exported to
a text file and the put
the numbers in another table as arguements.
Secondly, can you give me directions if yes to a
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
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
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
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
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
> "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
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
--- 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
Bialczyk To: [EMAIL PROTECTED]
<[EMAIL PROTECTED]>cc:
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
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"))
Lightning flashed, thunder crashed and "Nichole Bialczyk" <[EMAIL PROTECTED]> whisper
ed:
| if(! open(LOG, ">xxx.txt)) {
I really hate to pick on you, but if you are going to provide sample code,
please make sure you are providing exactly what is in the script
(cut'n'paste as opposed to retyping)
Uhm what about an ending " at your file name.
if(! open(LOG, ">xxx.txt")) {
instead of :
>if(! open(LOG, ">xxx.txt)) {
> print "Content-type: text/html\n\n";
> print "Can't open xxx.txt\n";
> exit;
>}
-
Craig Moynes
Internship Student
netCC Developm
On Thu, May 31, 2001 at 02:08:54AM -0500, Nichole Bialczyk wrote:
> - Original Message -
> From: "Asim Memon" <[EMAIL PROTECTED]>
> To: "Nichole Bialczyk" <[EMAIL PROTECTED]>
> Sent: Thursday, May 31, 2001 2:07 AM
> Subject: Re: writing to a
> open...or die... statement, but then i got an
> internal server error 500.
You should add the following lines to your
cgi scripts:
use CGI::Carp qw(fatalsToBrowser);
And/or you should execute your perl scripts
from a command line before going through
the web server, to make sure they do r
that's what i thought, too. but i already did that.
- Original Message -
From: "Asim Memon" <[EMAIL PROTECTED]>
To: "Nichole Bialczyk" <[EMAIL PROTECTED]>
Sent: Thursday, May 31, 2001 2:07 AM
Subject: Re: writing to a text file --> permission den
eally appreciate everyone's help. maybe one day i can aspire to be a
guru! :)
- Original Message -
From: "Michael Fowler" <[EMAIL PROTECTED]>
To: "Nichole Bialczyk" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, May 31, 2001 1:17 AM
Sub
On Thu, 31 May 2001, Nichole Bialczyk <[EMAIL PROTECTED]> wrote,
> Date: Thu, 31 May 2001 01:00:49 -0500
> From: Nichole Bialczyk <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: writing to a text file
>
> i'm trying to write a log file and i can'
On Thu, May 31, 2001 at 01:00:49AM -0500, Nichole Bialczyk wrote:
> i'm trying to write a log file and i can't seem to open it to write to. the file
>does exist. here is the code for opening the file:
>
> if(! open(LOG, ">xxx.txt)) {
>print "Content-type: text/html\n\n";
>print "Can't op
i'm trying to write a log file and i can't seem to open it to write to. the file does
exist. here is the code for opening the file:
if(! open(LOG, ">xxx.txt)) {
print "Content-type: text/html\n\n";
print "Can't open xxx.txt\n";
exit;
}
print LOG "At $date, $ENV{'REMOTE_HOST'} etc., etc.
22 matches
Mail list logo