Bug 100470 - [NEW PORT] devel/p5-Time-Duration-Parse: Parse string that represents time duration
Summary: [NEW PORT] devel/p5-Time-Duration-Parse: Parse string that represents time du...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Cheng-Lung Sung
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-18 11:50 UTC by gslin
Modified: 2006-07-19 02:09 UTC (History)
1 user (show)

See Also:


Attachments
p5-Time-Duration-Parse-0.02.shar (2.89 KB, text/plain)
2006-07-18 11:50 UTC, gslin
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description gslin 2006-07-18 11:50:12 UTC
- Tinderbox log:

  http://tb.gslin.org/logs/4.11-FreeBSD-Perl5/p5-Time-Duration-Parse-0.02.log
  http://tb.gslin.org/logs/4.11-FreeBSD-Perl58/p5-Time-Duration-Parse-0.02.log
  http://tb.gslin.org/logs/5.5-FreeBSD/p5-Time-Duration-Parse-0.02.log
  http://tb.gslin.org/logs/6-STABLE/p5-Time-Duration-Parse-0.02.log

Time::Duration::Parse is a module to parse human readable duration
strings like 2 minutes and 3 seconds to seconds.

It does the opposite of duration_exact function in Time::Duration and
is roundtrip safe. So, the following is always true.

  use Time::Duration::Parse;
  use Time::Duration;

  my $seconds = int rand 100000;
  is( parse_duration(duration_exact($seconds)), $seconds );

WWW:	http://search.cpan.org/dist/Time-Duration-Parse/

Generated with FreeBSD Port Tools 0.77
Comment 1 Edwin Groothuis freebsd_committer 2006-07-18 11:50:27 UTC
Responsible Changed
From-To: freebsd-ports-bugs->clsung

clsung@ wants his PRs
Comment 2 Cheng-Lung Sung freebsd_committer 2006-07-19 02:09:00 UTC
State Changed
From-To: open->closed

New port added. Thank You.