Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: remove lending figures

by starX (Chaplain)
on Sep 27, 2025 at 14:59 UTC ( [id://11166379]=note: print w/replies, xml ) Need Help??


in reply to remove lending figures

If by "lending" you mean "leading," the split function will do this for you. i.e.
my $json = "0.0"; my ($minutes, $seconds) = split(/[.:]/, $json);
By placing the . and the : into a character class (in the []), split will work on either one.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11166379]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2026-03-08 04:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.