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

See Also

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

Authors

46       The mod_perl development team and numerous contributors.
47
48
49
50perl v5.8.8                       2006-11-19         docs::api::APR::String(3)
Impressum