- if ($lss->{-cfg}->{'lei.internal.rawstr'}) {
- scalar(@$q) > 1 and
- die "$f: lei.q has multiple values (@$q) (out=$out)\n";
+ my $rawstr = $lss->{-cfg}->{'lei.internal.rawstr'} //
+ (scalar(@$q) == 1 && substr($q->[0], -1) eq "\n");
+ if ($rawstr) {
+ die <<EOM if scalar(@$q) > 1;
+$f: lei.q has multiple values (@$q) (out=$out)
+$f: while lei.internal.rawstr is set
+EOM