libformat-human-bytes-perl 0.06-2 source package in Ubuntu
Changelog
libformat-human-bytes-perl (0.06-2) unstable; urgency=medium [ Salvatore Bonaccorso ] * Update Vcs-Browser URL to cgit web frontend * debian/control: Use HTTPS transport protocol for Vcs-Git URI [ gregor herrmann ] * debian/copyright: change Copyright-Format 1.0 URL to HTTPS. * Remove Deepak Tripathi from Uploaders. Thanks for your work! [ Salvatore Bonaccorso ] * Update Vcs-* headers for switch to salsa.debian.org [ Debian Janitor ] * Bump debhelper from deprecated 7 to 12. * Set debhelper-compat version in Build-Depends. * Add missing build dependency on libmodule-install-perl. [ gregor herrmann ] * debian/watch: use uscan version 4. -- Jelmer Vernooij <email address hidden> Tue, 14 Jun 2022 21:40:00 +0100
Upload details
- Uploaded by:
- Debian Perl Group
- Uploaded to:
- Sid
- Original maintainer:
- Debian Perl Group
- Architectures:
- all
- Section:
- perl
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section | |
---|---|---|---|---|
Oracular | release | universe | perl | |
Noble | release | universe | perl | |
Mantic | release | universe | perl | |
Lunar | release | universe | perl |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
libformat-human-bytes-perl_0.06-2.dsc | 2.2 KiB | b5aa453709604aa802bf009b9b833e0d4c2177f8c39e686210c953ebfdaf7faa |
libformat-human-bytes-perl_0.06.orig.tar.gz | 26.5 KiB | 4d2578073748cc774b755f9805697221753b38154f0f57b7d820140128b4a9b1 |
libformat-human-bytes-perl_0.06-2.debian.tar.xz | 2.3 KiB | 20bacb7a63724c61440af3c9f34e12728a99650cff82fd0eb0add471f5d4adf3 |
Available diffs
- diff from 0.06-1.1 to 0.06-2 (1.3 KiB)
No changes file available.
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] );