diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-11-05 04:35:30 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-11-05 04:35:30 +0000 |
commit | 009c130fc3ba16de26baf9bc4a9290f046a90258 (patch) | |
tree | 72a9e5b2028ad955c1606cc0f102f8abbce23142 /t/io/print.t | |
parent | 86162ee834b1242cdc75a7bb8e5c50e5c9c10fd6 (diff) | |
download | perl-009c130fc3ba16de26baf9bc4a9290f046a90258.tar.gz |
allow $\ to work right when set to a string with embedded nulls
p4raw-id: //depot/perl@4521
Diffstat (limited to 't/io/print.t')
-rwxr-xr-x | t/io/print.t | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/t/io/print.t b/t/io/print.t index 180b1e88d7..0578ee6a29 100755 --- a/t/io/print.t +++ b/t/io/print.t @@ -1,8 +1,6 @@ #!./perl -# $RCSfile: print.t,v $$Revision: 4.1 $$Date: 92/08/07 18:27:32 $ - -print "1..16\n"; +print "1..18\n"; $foo = 'STDOUT'; print $foo "ok 1\n"; @@ -30,3 +28,7 @@ print "ok","11"; @x = ("ok","12\nok","13\nok"); @y = ("15\nok","16"); print @x,"14\nok",@y; +{ + local $\ = "ok 17\n# null =>[\000]\nok 18\n"; + print ""; +} |