Data-Dump-Streamer
view release on metacpan or search on metacpan
lib/Data/Dump/ppport.h view on Meta::CPAN
pad_new|||
pad_peg|||n
pad_push|||
pad_reset|||
pad_setsv|||
pad_sv||5.011000|
pad_swipe|||
pad_tidy|||
pad_undef|||
parse_body|||
parse_unicode_opts|||
parser_dup|||
parser_free|||
path_is_absolute|||n
peep|||
pending_Slabs_to_ro|||
perl_alloc_using|||n
perl_alloc|||n
perl_clone_using|||n
perl_clone|||n
perl_construct|||n
lib/Data/Dump/ppport.h view on Meta::CPAN
#endif
#ifndef PERL_PV_PRETTY_DUMP
# define PERL_PV_PRETTY_DUMP PERL_PV_PRETTY_ELLIPSES|PERL_PV_PRETTY_QUOTE
#endif
#ifndef PERL_PV_PRETTY_REGPROP
# define PERL_PV_PRETTY_REGPROP PERL_PV_PRETTY_ELLIPSES|PERL_PV_PRETTY_LTGT|PERL_PV_ESCAPE_RE
#endif
/* Hint: pv_escape
* Note that unicode functionality is only backported to
* those perl versions that support it. For older perl
* versions, the implementation will fall back to bytes.
*/
#ifndef pv_escape
#if defined(NEED_pv_escape)
static char * DPPP_(my_pv_escape)(pTHX_ SV * dsv, char const * const str, const STRLEN count, const STRLEN max, STRLEN * const escaped, const U32 flags);
static
#else
extern char * DPPP_(my_pv_escape)(pTHX_ SV * dsv, char const * const str, const STRLEN count, const STRLEN max, STRLEN * const escaped, const U32 flags);
'a6',
'a7',
'a8',
'a9'
];
${${$REF1}->[0]} = \${$REF1}->[3];
EXPECT
}
{
my $expect= $] >= 5.013_010 ? <<'U_FLAG' : <<'NO_U_FLAG';
$VAR1 = "This contains unicode: /\x{263a}/";
$Regexp1 = qr!This contains unicode: /\x{263a}/!u;
U_FLAG
$VAR1 = "This contains unicode: /\x{263a}/";
$Regexp1 = qr!This contains unicode: /\x{263a}/!;
NO_U_FLAG
use utf8;
my $r= "This contains unicode: /\x{263A}/";
my $qr= qr/$r/;
test_dump({
name => "Unicode qr// and string",
no_dumper => 1,
verbose => 1
},
$o,
($r, $qr),
$expect
);
$o,
($r),
<<'EXPECT',);
$VAR1 = "\x{100}\x{101}\x{102}";
EXPECT
}
{
use warnings FATAL => 'all';
my $r= "Günter";
test_dump({
name => "Non unicode, high char",
verbose => 1
},
$o,
($r),
<<'EXPECT',);
$VAR1 = "G\374nter";
EXPECT
}
{
my $dv= dualvar(unpack('N', 'JAPH'), 'JAPH');
( run in 0.649 second using v1.01-cache-2.11-cpan-88abd93f124 )