09 Oct 2002 06:45:31 UTC
- Distribution: Time-Duration-sv
- Module version: 1.01
- Source (raw)
- Browse (raw)
- How to Contribute
- Testers (432 / 1 / 0)
- KwaliteeBus factor: 0
- 80.83% Coverage
- License: unknown
- Activity24 month
- Download (4.79KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version
Time::Duration::sv - rounded or exact Swedish expression of durations
Example use in a program that ends by noting its runtime:
my $start_time = time(); use Time::Duration::sv; # then things that take all that time, and then ends: print "Runtime ", duration(time() - $start_time), ".\n";
Example use in a program that reports age of a file:
use Time::Duration::sv; my $file = 'that_file'; my $age = $^T - (stat($file)); # 9 = modtime print "$file was modified ", ago($age);
This module provides functions for expressing durations in rounded or exact terms.
Time::Duration, the English original, for a complete manual.
Copyright 2002, Arthur Bergman
firstname.lastname@example.org, all rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose.
Large parts of the code is Copyright 2002 Sean M. Burke.
Module Install Instructions
To install Time::Duration::sv, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Time::Duration::sv
For more information on module installation, please visit the detailed CPAN module installation guide.