Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

APR::String (3)

Name

APR::String - Perl API for manipulating APR UUIDs

Synopsis

use APR::String ();

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

Description

User Contributed Perl Documentation
                                     build::sparcv9::docs::api::APR::String(3)



NAME
       APR::String - Perl API for manipulating APR UUIDs

Synopsis
         use APR::String ();

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

Description
       "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

See Also
       mod_perl 2.0 documentation.

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

Authors
       The mod_perl development team and numerous contributors.



ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+-----------------------------------------+
       |ATTRIBUTE TYPE |            ATTRIBUTE VALUE              |
       +---------------+-----------------------------------------+
       |Availability   | web/server/apache-24/module/apache-perl |
       +---------------+-----------------------------------------+
       |Stability      | Uncommitted                             |
       +---------------+-----------------------------------------+

NOTES
       Source code for open source software components in Oracle Solaris can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This software was built from source available at
       https://github.com/oracle/solaris-userland.  The original community
       source was downloaded from
       https://www.apache.org/dist/perl/mod_perl-2.0.12.tar.gz.

       Further information about this software can be found on the open source
       community website at https://perl.apache.org/.



perl v5.32.0                      2022-01-30
                                     build::sparcv9::docs::api::APR::String(3)