Paketname | libformat-human-bytes-perl |
Beschreibung | Format a bytecount and make it human readable |
Archiv/Repository | Offizielles Debian Archiv squeeze (main) |
Version | 0.05-1 |
Sektion | perl |
Priorität | optional |
Installierte Größe | 68 Byte |
Hängt ab von | perl |
Empfohlene Pakete | |
Paketbetreuer | Debian Perl Group |
Quelle | |
Paketgröße | 7668 Byte |
Prüfsumme MD5 | 32b18726e33e7bd177ecc363977464df |
Prüfsumme SHA1 | 9bfcf665355c0058d4e02f2844f282ec6281a4ce |
Prüfsumme SHA256 | 7a7db251dafe3c19932e13715e6998fe76655e23209a14cf5d1b9cbe2668b5be |
Link zum Herunterladen | libformat-human-bytes-perl_0.05-1_all.deb |
Ausführliche Beschreibung | 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]);
|