#!perl
-use Test::More tests => 27;
+use Test::More tests => 24;
use warnings FATAL => 'all';
use strict;
is eval 'fun :([) {}', undef;
like $@, qr/Illegal character in prototype/;
-is eval 'fun :([) {}', undef;
-like $@, qr/Illegal character in prototype/;
-
is eval 'fun :(][[[[[[) {}', undef;
like $@, qr/Illegal character in prototype/;
no warnings qw(illegalproto);
ok eval 'fun :([) {}';
- ok eval 'fun :([) {}';
ok eval 'fun :(][[[[[[) {}';
ok eval 'fun :(\;) {}';
ok eval 'fun :(\[_;@]) {}';