Vulturejoe has asked for the wisdom of the Perl Monks concerning the following question:
any help will be greatly appreciated. and if it helps, I'm using MacPerl 5.20r4. Thanks!$mytime = <STDIN>; chomp $mytime if ($mytime =~ /([10-12]|[1-9])\:[0-59](am|pm)/i) {print "$time is a valid time.";}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: need help debugging code
by ignatz (Vicar) on Jul 21, 2002 at 04:10 UTC | |
by Nitrox (Chaplain) on Jul 21, 2002 at 04:15 UTC | |
|
Re: need help debugging code
by BUU (Prior) on Jul 21, 2002 at 04:15 UTC | |
|
Re: need help debugging code
by Vulturejoe (Novice) on Jul 21, 2002 at 07:31 UTC |