libformat-human-bytes-perl 0.05-1 source package in Ubuntu
Changelog
libformat-human-bytes-perl (0.05-1) unstable; urgency=low [ Deepak Tripathi ] * Initial Release (Closes: #576510) -- Ubuntu Archive Auto-Sync <email address hidden> Tue, 25 May 2010 15:15:58 +0100
Upload details
- Uploaded by:
- Ubuntu Archive Auto-Sync
- Uploaded to:
- Maverick
- Original maintainer:
- Debian Perl Group
- Architectures:
- all
- Section:
- perl
- Urgency:
- Low Urgency
See full publishing history Publishing
Series | Published | Component | Section | |
---|---|---|---|---|
Precise | release | universe | perl |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
libformat-human-bytes-perl_0.05.orig.tar.gz | 23.8 KiB | 1d23b4f4e4e6b4f8104e3d8aa05b9dad1f1735a3b410f26d47df395666648f4f |
libformat-human-bytes-perl_0.05-1.diff.gz | 1.4 KiB | 24a4bc7a66cddea2be9d6445320d8b43049369366d9e28e56e3ff920f00e2534 |
libformat-human-bytes-perl_0.05-1.dsc | 2.1 KiB | 141ebdb5ff9b100d24d1d79744b9d1cdbfd4e087034f9b09ad941e7e73657fb1 |
Binary packages built by this source
- libformat-human-bytes-perl: Format a bytecount and make it human readable
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] );
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:
.
$fhb = Format::Human: :Bytes- >new();
$readable = $fhb->base2($bytecount[ ,$decimals] );
$readable = $fhb->base10($bytecount[ ,$decimals] );