APR::String(3pm)

APR::String3pm

Perl api for manipulating apr uuids

Usage

  use APR::String ();
  
  # 42_000 => " 41K",
  my $size_str = APR::String::format_size($size);

Overview

"APR::String" provides strings manipulation API.

API

"APR::String" provides the following functions and/or methods:

"format_size"

  my $size_str = APR::String::format_size($size);
arg1: $size ( integer )
ret: $size_str

returns a formatted size string representation of a number. The size given in the string will be in units of bytes, kilobytes, or megabytes, depending on the size. The length of that string is always 4 chars long. For example:

    0               => "  0 ",
    42              => " 42 ",
    42_000          => " 41K",
    42_000_000      => " 40M",
since: 2.0.00

Releases

10 releases since Debian 4.0 (Etch); the text changed 9 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9
  7. 10
  8. 11
  9. 12
  10. 13

Authors

The mod_perl development team and numerous contributors.

From libapache2-mod-perl2 2.0.13-2+b2 in Debian 13 (Trixie). Parsed by carta from the page's man source.