#define NEED_sv_2pv_flags
#define NEED_newSVpvn_flags
#define NEED_gv_fetchpvn_flags
+#define NEED_sv_catpvn_flags
#include "ppport.h"
static MGVTBL subname_vtbl;
#define SV_CATBYTES 0
#endif
+#ifndef sv_catpvn_flags
+#define sv_catpvn_flags(b,n,l,f) sv_catpvn(b,n,l)
+#endif
+
MODULE = Sub::Name PACKAGE = Sub::Name
PROTOTYPES: DISABLE
use strict;
use warnings;
-use Test::More 0.88;
+use Test::More tests => 1;
use Sub::Name;
my $sub = sub { (caller(0))[3] };
"foo::quz::bar::baz",
'correctly parsed single quote from name where the last separator is ::',
);
-
-done_testing;
BEGIN { $^P |= 0x210 }
-use Test::More 0.88;
+use Test::More tests => 10;
use Sub::Name;
my $x = subname foo => sub { (caller 0)[3] };
::is($DB::sub{$_}, $anon);
}
-::done_testing;
# vim: ft=perl