perl-Time-Duration-1.60.0-3-rosa.lts2012.0.noarch.rpm


Advertisement

Description

perl-Time-Duration - Rounded or exact English expression of durations

Distribution: ROSA Enterprise Desktop
Repository: ROSA Contrib Updates x86_64
Package name: perl-Time-Duration
Package version: 1.60.0
Package release: 3-rosa.lts2012.0
Package architecture: noarch
Package type: rpm
Installed size: 27.62 KB
Download size: 15.12 KB
Official Mirror: mirror.rosalab.ru
This module provides functions for expressing durations in rounded or exact terms. In the first example in the Synopsis, using duration($interval_seconds): If the 'time() - $start_time' is 3 seconds, this prints "Runtime: *3 seconds*.". If it's 0 seconds, it's "Runtime: *0 seconds*.". If it's 1 second, it's "Runtime: *1 second*.". If it's 125 seconds, you get "Runtime: *2 minutes and 5 seconds*.". If it's 3820 seconds (which is exactly 1h, 3m, 40s), you get it rounded to fit within two expressed units: "Runtime: *1 hour and 4 minutes*.". Using duration_exact instead would return "Runtime: *1 hour, 3 minutes, and 40 seconds*".

Alternatives

Provides

  • perl(Time::Duration) == 1.60.0
  • perl-Time-Duration == 1.60.0-3:2012.0

    Install Howto

    1. Enable ROSA Contrib Updates repository on Install and Remove Software"
    2. Update packages list:
      # urpmi.update -a
    3. Install perl-Time-Duration rpm package:
      # urpmi perl-Time-Duration

    Files

    • /usr/lib/perl5/vendor_perl/5.12.3/Time/Duration.pm
    • /usr/share/doc/perl-Time-Duration/ChangeLog
    • /usr/share/doc/perl-Time-Duration/META.yml
    • /usr/share/doc/perl-Time-Duration/README
    • /usr/share/man/man3/Time::Duration.3pm.xz

    Changelog

    2011-04-24 - Funda Wang <fwang@mandriva.org> 1.60.0-3mdv2011.0 + Revision: 658268 - rebuild

    2011-04-23 - Funda Wang <fwang@mandriva.org> 1.60.0-2 + Revision: 657855 - rebuild for updated spec-helper

    2010-12-24 - Shlomi Fish <shlomif@mandriva.org> 1.60.0-1mdv2011.0 + Revision: 624674 - import perl-Time-Duration

    Advertisement
    Advertisement