Alexander Koenig wrote: > Hi Ruprecht, > > You wrote on 09/17/2009 10:31 AM: >> syntax error at ./statistik.pl line 73, near "} or" >> syntax error at ./statistik.pl line 82, near ") {" >> syntax error at ./statistik.pl line 86, near "} or" >> Missing right curly or square bracket at ./statistik.pl line 100, at end >> of line >> Execution of ./statistik.pl aborted due to compilation errors. >> >> >> Here the scriptcode: > > Line numbers would have been great.
because of using kedit - by default no comment with linenumber is added. > about line 40 >> die $sth->errstr if $sth->err; >> >> while (($name, $vorname, $firma) = $sth1->fetchrow_array) { > --> > You never close this opening curly bracket. That's probably the problem. This fixed the error Missing right cury ... in line 100 Possible I have to seperate the script into different scriptfiles for better finding. Regards, Ruprecht Helms -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/