Of course, it might be easier to just remove the trailing 0...
chop($string_to_parse);
or if there's not always an extra digit:
$string_to_parse =~ s/(:\d\d).$/$1/;
In reply to Re: Capturing warnings from Time::Piece
by ikegami
in thread Capturing warnings from Time::Piece
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |