diff options
Diffstat (limited to 'gnu/usr.bin/perl/t/lib/feature/indirect')
-rw-r--r-- | gnu/usr.bin/perl/t/lib/feature/indirect | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/gnu/usr.bin/perl/t/lib/feature/indirect b/gnu/usr.bin/perl/t/lib/feature/indirect index cd96f899b1c..cfc3a8e132b 100644 --- a/gnu/usr.bin/perl/t/lib/feature/indirect +++ b/gnu/usr.bin/perl/t/lib/feature/indirect @@ -23,8 +23,7 @@ system $foox "foo", "bar"; my $y = new Foo; EXPECT OPTIONS fatal -Bareword found where operator expected at - line 19, near "new Foo" - (Do you need to predeclare new?) +Bareword found where operator expected (Do you need to predeclare "new"?) at - line 19, near "new Foo" syntax error at - line 19, near "new Foo" Execution of - aborted due to compilation errors. ######## @@ -97,8 +96,7 @@ my $z = new $class; EXPECT OPTIONS fatal -Scalar found where operator expected at - line 29, near "new $class" - (Do you need to predeclare new?) +Scalar found where operator expected (Do you need to predeclare "new"?) at - line 29, near "new $class" syntax error at - line 29, near "new $class" Execution of - aborted due to compilation errors. ######## @@ -135,7 +133,6 @@ my $z = new $class (); EXPECT OPTIONS fatal -Scalar found where operator expected at - line 29, near "new $class" - (Do you need to predeclare new?) +Scalar found where operator expected (Do you need to predeclare "new"?) at - line 29, near "new $class" syntax error at - line 29, near "new $class " Execution of - aborted due to compilation errors. |