blob: dcf44094dd80c72eac220cc037aa32afe3447660 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!./perl -anFx+
BEGIN {
chdir 't' if -d 't';
@INC = '../lib';
require './test.pl';
*ARGV = *DATA;
plan(tests => 2);
}
my $index = $F[-1];
chomp $index;
is($index, $., "line $.");
__DATA__
okx1
okx3xx2
|