Re: overriding builtins quirk
[p5sagit/p5-mst-13.2.git] / t / op / readline.t
CommitLineData
79628082 1#!./perl
2
3BEGIN {
4 chdir 't';
5 @INC = '../lib';
6 require './test.pl';
7}
8
9plan tests => 1;
10
11eval { for (\2) { $_ = <FH> } };
12like($@, 'Modification of a read-only value attempted', '[perl #19566]');
13