|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
Re^4: remove leading figuresby LanX (Saint) |
| on Sep 18, 2025 at 20:23 UTC ( [id://11166274]=note: print w/replies, xml ) | Need Help?? |
|
> tho with 1:00, isn't working Because ":" is not "." Use @digits = split /[:.]/, $string And pick what you need For anything more complicated, better consider a dedicated DateTime module.
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||