r55814 - /trunk/libformat-human-bytes-perl/debian/control
dmn at users.alioth.debian.org
dmn at users.alioth.debian.org
Fri Apr 9 07:23:47 UTC 2010
Author: dmn
Date: Fri Apr 9 07:23:32 2010
New Revision: 55814
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=55814
Log:
s/This module/$module_name/ and other improvements to long description
Modified:
trunk/libformat-human-bytes-perl/debian/control
Modified: trunk/libformat-human-bytes-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libformat-human-bytes-perl/debian/control?rev=55814&op=diff
==============================================================================
--- trunk/libformat-human-bytes-perl/debian/control (original)
+++ trunk/libformat-human-bytes-perl/debian/control Fri Apr 9 07:23:32 2010
@@ -15,20 +15,20 @@
Architecture: all
Depends: ${misc:Depends}, ${perl:Depends}
Description: Format a bytecount and make it human readable
- This module is used to convert bytecount values to human-readable strings.
- it will return you a printable string which is more readable by humans than
- a simple bytecount.
- .
+ Format::Human::Bytes is used to convert bytecount values to human-readable
+ strings. It will return you a printable string which is more readable by
+ humans than a simple bytecount.
+ .
For example:
- use Format::Human::Bytes;
- $readable = Format::Human::Bytes::base2($bytecount[,$decimals]);
+ use Format::Human::Bytes;
+ $readable = Format::Human::Bytes::base2($bytecount[,$decimals]);
It will convert in base 2 format.
.
- $readable = Format::Human::Bytes::base10($bytecount[,$decimals]);
+ $readable = Format::Human::Bytes::base10($bytecount[,$decimals]);
It will convert in base 10 format.
.
Another way is to create constructor for example:
.
- my $fhb = Format::Human::Bytes->new();
- $readable = $fhb->base2($bytecount[,$decimals]);
- $readable = $fhb->base10($bytecount[,$decimals]);
+ $fhb = Format::Human::Bytes->new();
+ $readable = $fhb->base2($bytecount[,$decimals]);
+ $readable = $fhb->base10($bytecount[,$decimals]);
More information about the Pkg-perl-cvs-commits
mailing list