This sort of question is a lot easier if we could see the syntax errors.
Here's my guess though.


#    foreach $i (@section_headers)
Has $i been declared?  Try 'foreach my $i (@section_headers)'

#    die "config error - no valid section header\n" if
($config_current_section ne $config_section && $config_current_section ne
"queries"),
I'd have to double check, but I think splitting the 'if' from it's condition
with a new line will give a syntax error. I can't tell if this is just the
e-mail format or in the original code.

#    for(my $x;$x<10;++$x) print "gg",
A comma is not correct here.  But you also need braces around the for block.
#    for(my $x;$x<10;++$x) { print "gg" }

you can also get away with
print "gg" for (my $x;$x<10;++$x);


If this doesn't help, and no one else posts a helpful response you might
include the syntax errors in your next post.  Or at least the first few if
there are too many.

Good Luck,
Peter C.


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to