{"added":null,"apiVersion":1,"behindSince":null,"buildDepends":[],"categories":["devel","perl5"],"comment":"Parse string that represents time duration","compare":null,"dependentCount":null,"description":"Time::Duration::Parse::AsHash is like Time::Duration::Parse except:\n- By default it returns a hashref of parsed duration elements instead of number\n  of seconds\n  There are some circumstances when you want this, e.g. when feeding into\n  DateTime::Duration and you want to count for leap seconds.\n  To return number of seconds like Time::Duration::Parse, pass a true value as\n  the second argument.\n- By default seconds are not rounded\n  For example: \"0.1s\" or 100ms will return result { seconds =\u003e 0.1 }, and \"2.3s\"\n  will return { seconds =\u003e 2.3 }.\n  Also, \u003c01:02:03\u003e being recognized as 1h2min3s, 01:02:03.4567 will also be\n  recognized as 1h2min3.4567s.\n- It recognizes more duration units\n  milliseconds (ms), which will be returned in the seconds key, for example\n  \"400ms\" returns { seconds =\u003e 0.4 }.\n  microseconds. This will also be returned in seconds key.\n  nanoseconds (ns). This will also be returned in seconds key.\n  decades. This will be returned in years key, for example \"1.5 decades\" will\n  return { years =\u003e 15 }.\n- It has a lower startup overhead\n  By avoiding modules like Carp and Exporter::Lite, even strict and warnings\n  (starts up in ~3m vs ~9ms on my computer).","flavors":[],"html":"https://daemonports.org/dragonfly/devel/p5-Time-Duration-Parse-AsHash/","kind":"port","lastUpdate":null,"license":["ART10","GPLv1+"],"maintainer":"sunpoet@FreeBSD.org","name":"p5-Time-Duration-Parse-AsHash","newest":true,"newestVersion":"0.10.6","noVulnData":false,"origin":"devel/p5-Time-Duration-Parse-AsHash","otherSystems":[{"maintainer":"sunpoet@FreeBSD.org","newest":true,"origin":"devel/p5-Time-Duration-Parse-AsHash","path":"/devel/p5-Time-Duration-Parse-AsHash/","system":"FreeBSD","version":"0.10.6"},{"maintainer":"sunpoet@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/p5-Time-Duration-Parse-AsHash","path":"","system":"HardenedBSD","version":"0.10.6"},{"maintainer":"sunpoet@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/p5-Time-Duration-Parse-AsHash","path":"","system":"GhostBSD","version":"0.10.6"}],"packages":null,"pkgName":"p5-Time-Duration-Parse-AsHash-0.10.6","related":null,"repository":"DPorts","requiredBy":[],"requiredByCount":0,"runDepends":["lang/perl5.36"],"status":null,"system":"dragonfly","systemLabel":"DragonFly","version":"0.10.6","versions":null,"vulnerabilities":null,"www":"https://metacpan.org/dist/Time-Duration-Parse-AsHash"}
