This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
t/loc_tools.pl: Consider thread 0 always locale-safe
[perl5.git] / t / run / switchF.t
1 #!./perl -anFx+
2
3 BEGIN {
4     chdir 't' if -d 't';
5     @INC = '../lib';
6     require './test.pl';
7     *ARGV = *DATA;
8     plan(tests => 2);
9 }
10 my $index = $F[-1];
11 chomp $index;
12 is($index, $., "line $.");
13
14 __DATA__
15 okx1
16 okx3xx2