This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Make utf8::encode respect magic
[perl5.git] / t / base / pat.t
CommitLineData
8d063cd8
LW
1#!./perl
2
8d063cd8
LW
3print "1..2\n";
4
5# first test to see if we can run the tests.
6
7$_ = 'test';
8if (/^test/) { print "ok 1\n"; } else { print "not ok 1\n";}
9if (/^foo/) { print "not ok 2\n"; } else { print "ok 2\n";}