in reply to time string parsing question
Shorter is not always better... But you can always do
BTW, I think the above is consistent with what you posted, though it makes no sense to me that $minute does not come from the same substring as $time.my ( $minute, $time ) = ( $string =~ /^\d+:(\d+).*?,(\d+:\d+:\d+)/ )
the lowliest monk
|
|---|