1docs::api::APR::String(U3s)er Contributed Perl Documentatdioocns::api::APR::String(3)
2
3
4

NAME

6       APR::String - Perl API for manipulating APR UUIDs
7

Synopsis

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

Description

15       "APR::String" provides strings manipulation API.
16

API

18       "APR::String" provides the following functions and/or methods:
19
20   "format_size"
21         my $size_str = APR::String::format_size($size);
22
23       arg1: $size ( integer )
24       ret: $size_str
25           returns a formatted size string representation of a number.  The
26           size given in the string will be in units of bytes, kilobytes, or
27           megabytes, depending on the size. The length of that string is
28           always 4 chars long. For example:
29
30               0               => "  0 ",
31               42              => " 42 ",
32               42_000          => " 41K",
33               42_000_000      => " 40M",
34
35       since: 2.0.00
36

See Also

38       mod_perl 2.0 documentation.
39
41       mod_perl 2.0 and its core modules are copyrighted under The Apache
42       Software License, Version 2.0.
43

Authors

45       The mod_perl development team and numerous contributors.
46
47
48
49perl v5.30.0                      2019-10-07         docs::api::APR::String(3)
Impressum