File Coverage

blib/lib/Perl/APIReference/V5_028_002.pm
Criterion Covered Total %
statement 18 18 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod 1 1 100.0
total 23 23 100.0


line stmt bran cond sub pod time code
1             package Perl::APIReference::V5_028_002;
2 1     1   7 use strict;
  1         2  
  1         38  
3 1     1   4 use warnings;
  1         1  
  1         79  
4 1     1   5 use parent 'Perl::APIReference::V5_028_001';
  1         1  
  1         8  
5              
6             sub new {
7 2     2 1 5 my $class = shift;
8 2         13 my $obj = $class->SUPER::new(@_);
9              
10 2         4 $obj->{perl_version} = '5.028002';
11 2         4 bless $obj => $class;
12              
13             # Override the few changes since 5.28.1
14 2         8 $obj->{'index'}{'AvFILL'} = {'text' => q{Same as C or C.
15              
16             int AvFILL(AV* av)','name' => 'AvFILL}};
17              
18 2         9 $obj->{'index'}{'grok_infnan'} = {'text' => q{Helper for C, accepts various ways of spelling "infinity"
19             or "not a number", and returns one of the following flag combinations:
20              
21             IS_NUMBER_INFINITY
22             IS_NUMBER_NAN
23             IS_NUMBER_INFINITY | IS_NUMBER_NEG
24             IS_NUMBER_NAN | IS_NUMBER_NEG
25             0
26              
27             possibly |-ed with C.
28              
29             If an infinity or a not-a-number is recognized, C<*sp> will point to
30             one byte past the end of the recognized string. If the recognition fails,
31             zero is returned, and C<*sp> will not move.
32              
33             int grok_infnan(const char** sp, const char *send)},'name' => 'grok_infnan'};
34              
35 2         7 $obj->{'index'}{'sv_catpvf'} = {'text' => q{Processes its arguments like C, and appends the formatted
36             output to an SV. As with C called with a non-null C-style
37             variable argument list, argument reordering is not supported.
38             If the appended data contains "wide" characters
39             (including, but not limited to, SVs with a UTF-8 PV formatted with C<%s>,
40             and characters >255 formatted with C<%c>), the original SV might get
41             upgraded to UTF-8. Handles 'get' magic, but not 'set' magic. See
42             C>. If the original SV was UTF-8, the pattern should be
43             valid UTF-8; if the original SV was bytes, the pattern should be too.
44              
45             void sv_catpvf(SV *const sv, const char *const pat,
46             ...)},'name' => 'sv_catpvf'};
47              
48 2         9 $obj->{'index'}{'sv_vcatpvf'} = {'text' => q{Processes its arguments like C called with a non-null C-style
49             variable argument list, and appends the formatted output
50             to an SV. Does not handle 'set' magic. See C>.
51              
52             Usually used via its frontend C.
53              
54             void sv_vcatpvf(SV *const sv, const char *const pat,
55             va_list *const args)},'name' => 'sv_vcatpvf'};
56              
57 2         8 return $obj;
58             }
59              
60             1;