in reply to Re^3: remove lending figures
in thread remove lending figures
Because ":" is not "."
Use @digits = split /[:.]/, $string
And pick what you need
For anything more complicated, better consider a dedicated DateTime module.
Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery
|
---|