Time::Duration::Patch::Millisecond - (DEPRECATED) Make Time::Duration support milliseconds
# patch first before importing! otherwise you'll get unpatched version of # concise(), interval(), and other routines. use Time::Duration::Patch::Millisecond; use Time::Duration; say ago(0.3); # => 300 milliseconds ago say concise(duration(2.03)); # => 2s30ms
This module contains patch for Time::Duration to support milliseconds. I am also in the process of asking Time::Duration's maintainer whether he/she wants to merge this into Time::Duration. See RT#81960. UPDATE 2013-04-17: Time::Duration 1.1 is now released which contains millisecond support. Therefore this patch is now declared deprecated.
Steven Haryanto <email@example.com>
This software is copyright (c) 2013 by Steven Haryanto.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.