Time::Duration::Parse man page on Fedora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Fedora logo
[printable version]

Time::Duration::Parse(User Contributed Perl DocumentatTime::Duration::Parse(3)

NAME
       Time::Duration::Parse - Parse string that represents time duration

SYNOPSIS
	 use Time::Duration::Parse;

	 my $seconds = parse_duration("2 minutes and 3 seconds"); # 123

DESCRIPTION
       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 );

FUNCTIONS
       parse_duration
	     $seconds = parse_duration($string);

	   Parses duration string and returns seconds. When it encounters an
	   error in a given string, it dies an exception saying "Unknown
	   timespec: blah blah blah". This function is exported by default.

AUTHOR
       Tatsuhiko Miyagawa <miyagawa@bulknews.net>

COPYRIGHT
       This library is free software; you can redistribute it and/or modify it
       under the same terms as Perl itself.

       Some internal code is taken from Cache and Cache::Cache modules on
       CPAN.

SEE ALSO
       Date::Manip, DateTime::Format::Duration,
       <http://use.perl.org/~miyagawa/journal/30310>

POD ERRORS
       Hey! The above document had some coding errors, which are explained
       below:

       Around line 91:
	   You forgot a '=back' before '=head1'

perl v5.14.1			  2008-05-30	      Time::Duration::Parse(3)
[top]

List of man pages available for Fedora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net