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
In reply to Re: time string parsing question
by tlm
in thread time string parsing question
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |