☰
Debian Codegraph
@
5.42.3-1
5.42.2-3
5.40.1-8
/
/
ext
/
XS-APItest
/
t
/
newDEFSVOP.t
☽
☼
ext/XS-APItest/t/newDEFSVOP.t
code
plain
raw
GPL-1+
or
Artistic
Copyright (C) 2002,2004 Tim Jenness, Christian Soeller, Hugo van der Sanden.; All Rights Reserved.; .; Copyright (C) 2009 Andrew Main (Zefram) <
[email protected]
>
debian/copyright
1
#!perl
2
3
use strict;
4
use warnings;
5
6
use Test::More tests => 7;
7
8
use XS::APItest qw(DEFSV);
9
10
is $_, undef;
11
is DEFSV, undef;
12
is \DEFSV, \$_;
13
14
DEFSV = "foo";
15
is DEFSV, "foo";
16
is $_, "foo";
17
18
$_ = "bar";
19
is DEFSV, "bar";
20
is $_, "bar";