What no error messages? Just terminates? What about using -w or use warnings? are you printing something?
More info required. > -----Original Message----- > From: chris [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 10, 2002 9:17 PM > To: [EMAIL PROTECTED] > Subject: Need timegm sample > > > use Time::Local; > my $TimeInSeconds; > #convert broken-down time to seconds in UTC > $TimeInSeconds = timegm($sec,$min,$hour,$mday,$mon,$year,$wday,$yday); > #snip snip snip > > When I use the following in perl 5.6.1, the script terminates > immediately. What is wrong? > > $TimeInSeconds = timegm(0,0,0,$mday,$mon,$year); > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > ---------------------------------------------------------------------------- -------------------- The views and opinions expressed in this email message are the sender's own, and do not necessarily represent the views and opinions of Summit Systems Inc. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]