File: String.pod

package info (click to toggle)
libapache2-mod-perl2 2.0.13-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 12,016 kB
  • sloc: perl: 97,771; ansic: 14,493; makefile: 51; sh: 18
file content (92 lines) | stat: -rw-r--r-- 1,178 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
=head1 NAME

APR::String - Perl API for manipulating APR UUIDs




=head1 Synopsis

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




=head1 Description

C<APR::String> provides strings manipulation API.










=head1 API

C<APR::String> provides the following functions and/or methods:






=head2 C<format_size>

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

=over 4

=item arg1: C<$size> ( integer )

=item ret: C<$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",

=item since: 2.0.00

=back








=head1 See Also

L<mod_perl 2.0 documentation|docs::2.0::index>.




=head1 Copyright

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




=head1 Authors

L<The mod_perl development team and numerous
contributors|about::contributors::people>.

=cut