diff options
author | Dave Mitchell <davem@fdisolutions.com> | 2004-03-28 15:08:23 +0000 |
---|---|---|
committer | Dave Mitchell <davem@fdisolutions.com> | 2004-03-28 15:08:23 +0000 |
commit | 4ad16c232af72afff4d7d0d37f532c709df5d9f0 (patch) | |
tree | a1929af1b39420f55850b65678d17e13915347d0 /t | |
parent | 46316b0a1e18bbab306c955d1ad4c7942f675812 (diff) | |
download | perl-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-x | t/op/gv.t | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |