Skip Menu |

This queue is for tickets about the Every CPAN distribution.

Report information
The Basics
Id: 68821
Status: new
Priority: 0/
Queue: Every

Owner: Nobody in particular
Requestors: JSWARTZ [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: accept duration strings ("1 minute", "3h") via Time::Duration::Parse
Download (untitled) / with headers
text/plain 331b
Would you consider passing the first argument through Time::Duration::Parse if it does not look like a number? Then one could do print "hello" if every("4h"); instead of print "hello" if every(seconds => 4*24*60*60); etc. Happy to provide a patch w/tests, for this or an alternate API that you'd prefer. Thanks Jon

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to