This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Revert "[perl #77496] tied gets scalars and globs confused"
[perl5.git] / t / run / noswitch.t
CommitLineData
d11311f7
RGS
1#!./perl
2
3BEGIN {
4 print "1..3\n";
5 *ARGV = *DATA;
6}
7print "ok 1\n";
8print <>;
9print "ok 3\n";
10
11__DATA__
12ok 2 - read from aliased DATA filehandle