Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I tried looking up some time modules on CPAN, but not sure which ones I should be using. I'm more of a PHP person so still very new to Perl. Sorry if this is a stupid question...but I will give it a go. Any help is welcome :)My train of thought... my $store_close = "7:05 PM"; my $t = time(); #need some conversion where I can convert 7:05 PM to the time in numbe +rs and then do if ($time > $my_converted_time) { print "Store Closed! Can not insert record!"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Comparing a string value's time with the computers time
by GhodMode (Pilgrim) on Aug 03, 2006 at 04:33 UTC | |
by crashtest (Curate) on Aug 03, 2006 at 05:30 UTC | |
|