blob: 42a81d9ab0fa4194b16eaea0b7d208267ae336f9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!./perl -w
BEGIN {
chdir 't' if -d 't';
require './test.pl';
set_up_inc('../lib');
}
plan tests => 1;
use strict;
eval 'my $_';
like $@, qr/^Can't use global \$_ in "my" at /;
|