RE: Where do die messages go?

2003-01-14 Thread John Dunn
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

RE: Where do die messages go?

2003-01-14 Thread John Dunn
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

Where do die messages go?

2003-01-14 Thread John Dunn
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

return date/time in required format

2003-01-06 Thread John Dunn
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