yep...it wasn't getting as far as the open
Thanks
-Original Message-
From: Gary Stainburn [mailto:[EMAIL PROTECTED]]
Sent: 14 January 2003 12:12
To: John Dunn; Beau E. Cox; [EMAIL PROTECTED]
Subject: Re: Where do die messages go?
Hi John,
On Tuesday 14 Jan 2003 12:08 pm, John
Actually I do ( typo in email)
open(MYFILE, ">$myfile") || die "Cannot open file";
It still does not display my message
-Original Message-
From: Beau E. Cox [mailto:[EMAIL PROTECTED]]
Sent: 14 January 2003 11:59
To: John Dunn; [EMAIL PROTECTED]
Subject: RE: W
open(MYFILE, ">$myfile") | die "Cannot open file";
Where does the die message go? When I run my script from the command prompt
I do not see the die message. I do get an error about the directory for the
file not existing, but it is not my die message.
This is on
I need to return the current date and time in the following format
MMDDHHMMSS
but am struggling to do this using the localtime function
In perticular, how do I get the month number(e.g. 09 for Sep)?
John Dunn
Sefas Innovation Ltd
0117 9154267
www.sefas.com
--
To unsubscribe, e-mail