DOKK / manpages / debian 12 / libapache2-mod-perl2 / APR::String.3pm.en
libapache2-mod-perl2-2.0.12::docs::api::APR::String(3pm) User Contributed Perl Documentation libapache2-mod-perl2-2.0.12::docs::api::APR::String(3pm)

APR::String - Perl API for manipulating APR UUIDs

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

"APR::String" provides strings manipulation API.

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

  my $size_str = APR::String::format_size($size);
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",
    

mod_perl 2.0 documentation.

mod_perl 2.0 and its core modules are copyrighted under The Apache Software License, Version 2.0.

The mod_perl development team and numerous contributors.

2022-10-20 perl v5.36.0