summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorDave Mitchell <davem@fdisolutions.com>2004-03-28 15:08:23 +0000
committerDave Mitchell <davem@fdisolutions.com>2004-03-28 15:08:23 +0000
commit4ad16c232af72afff4d7d0d37f532c709df5d9f0 (patch)
treea1929af1b39420f55850b65678d17e13915347d0 /t
parent46316b0a1e18bbab306c955d1ad4c7942f675812 (diff)
downloadperl-4ad16c232af72afff4d7d0d37f532c709df5d9f0.tar.gz
make gv_fullname() etc include a literal '^' for *^FOO style names
p4raw-id: //depot/perl@22606
Diffstat (limited to 't')
-rwxr-xr-xt/op/gv.t5
1 files changed, 4 insertions, 1 deletions
diff --git a/t/op/gv.t b/t/op/gv.t
index 5b1237a9c8..851f6b1c77 100755
--- a/t/op/gv.t
+++ b/t/op/gv.t
@@ -11,7 +11,7 @@ BEGIN {
use warnings;
-print "1..52\n";
+print "1..53\n";
# type coersion on assignment
$foo = 'foo';
@@ -242,6 +242,9 @@ print $j[0] == 1 ? "ok 43\n" : "not ok 43\n";
print $x || "not ok 52\n";
}
+# stringified typeglob should escape leading control char
+print *^A eq "*main::^A" ? "ok 53\n" : "not ok 53\n";
+
__END__
ok 44
ok 48