@@ -1001,10 +1001,10 @@ like $@, _create_mismatch_regexp('main::t081', 4, 2);
1001
1001
is $a , 123;
1002
1002
1003
1003
eval " #line 8 foo\n sub t082 (, \$ a) { }" ;
1004
- is $@ , qq{ syntax error at foo line 8, near "(,"\n } ;
1004
+ is $@ , qq{ syntax error at foo line 8, near "(,"\n Execution of foo aborted due to compilation errors. \ n} ;
1005
1005
1006
1006
eval " #line 8 foo\n sub t083 (,) { }" ;
1007
- is $@ , qq{ syntax error at foo line 8, near "(,"\n } ;
1007
+ is $@ , qq{ syntax error at foo line 8, near "(,"\n Execution of foo aborted due to compilation errors. \ n} ;
1008
1008
1009
1009
sub t084 ($a ,$b ){ $a .$b }
1010
1010
is prototype(\&t084), undef ;
@@ -1120,30 +1120,35 @@ eval "#line 8 foo\nsub t095 (\$a, 123) { }";
1120
1120
is $@ , <<EOF ;
1121
1121
A signature parameter must start with '\$ ', '\@ ' or '%' at foo line 8, near ", 1"
1122
1122
syntax error at foo line 8, near ", 123"
1123
+ Execution of foo aborted due to compilation errors.
1123
1124
EOF
1124
1125
1125
1126
eval " #line 8 foo\n no warnings; sub t096 (\$ a 123) { }" ;
1126
1127
is $@ , <<'EOF' ;
1127
1128
Illegal operator following parameter in a subroutine signature at foo line 8, near "($a 123"
1128
1129
syntax error at foo line 8, near "($a 123"
1130
+ Execution of foo aborted due to compilation errors.
1129
1131
EOF
1130
1132
1131
1133
eval " #line 8 foo\n sub t097 (\$ a { }) { }" ;
1132
1134
is $@ , <<'EOF' ;
1133
1135
Illegal operator following parameter in a subroutine signature at foo line 8, near "($a { }"
1134
1136
syntax error at foo line 8, near "($a { }"
1137
+ Execution of foo aborted due to compilation errors.
1135
1138
EOF
1136
1139
1137
1140
eval " #line 8 foo\n sub t098 (\$ a; \$ b) { }" ;
1138
1141
is $@ , <<'EOF' ;
1139
1142
Illegal operator following parameter in a subroutine signature at foo line 8, near "($a; "
1140
1143
syntax error at foo line 8, near "($a; "
1144
+ Execution of foo aborted due to compilation errors.
1141
1145
EOF
1142
1146
1143
1147
eval " #line 8 foo\n sub t099 (\$\$ ) { }" ;
1144
1148
is $@ , <<EOF ;
1145
1149
Illegal character following sigil in a subroutine signature at foo line 8, near "(\$ "
1146
1150
syntax error at foo line 8, near "\$\$ ) "
1151
+ Execution of foo aborted due to compilation errors.
1147
1152
EOF
1148
1153
1149
1154
eval " #line 8 foo\n sub t101 (\@ _) { }" ;
0 commit comments