foreach $Author2 ( @author_order ) { $auth = $author_books{ $Author2 }; my $books = $auth->{order}; push @body, "\n"; my $line = 0; foreach my $book ( @$books ) { push @body, '' if ++$line; push @body , ( "$book" . join( "
\n", @{ $auth->{books}{ $book } } ) . "\n" ); } } #### \n"" (Missing operator before "$Author2\n"?) syntax error at rough.pl line 43, near ""