[ bianca ]
[ Источник: libformat-human-bytes-perl ]
Пакет: libformat-human-bytes-perl (0.06-2)
Ссылки для libformat-human-bytes-perl
Исходный код libformat-human-bytes-perl:
- [libformat-human-bytes-perl_0.06-2.debian.tar.xz]
- [libformat-human-bytes-perl_0.06-2.dsc]
- [libformat-human-bytes-perl_0.06.orig.tar.gz]
Сопровождающие:
Внешние ресурсы:
- Сайт [metacpan.org]
Подобные пакеты:
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]);
Другие пакеты, относящиеся к libformat-human-bytes-perl
|
|
|
|
-
- dep: perl
- Larry Wall's Practical Extraction and Report Language
Загрузка libformat-human-bytes-perl
| Архитектура | Размер пакета | В установленном виде | Файлы |
|---|---|---|---|
| all | 7,5 Кб | 25,0 Кб | [список файлов] |