r55590 - /trunk/libformat-human-bytes-perl/debian/control

deepak-guest at users.alioth.debian.org deepak-guest at users.alioth.debian.org
Wed Apr 7 11:37:30 UTC 2010


Author: deepak-guest
Date: Wed Apr  7 11:37:15 2010
New Revision: 55590

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=55590
Log:
Extended description.Changes in debian/control

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=55590&op=diff
==============================================================================
--- trunk/libformat-human-bytes-perl/debian/control (original)
+++ trunk/libformat-human-bytes-perl/debian/control Wed Apr  7 11:37:15 2010
@@ -15,3 +15,19 @@
 Depends: ${perl:Depends}, ${misc: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.
+ . 
+ For example:
+	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]);
+ 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]);




More information about the Pkg-perl-cvs-commits mailing list