Sara has asked for the wisdom of the Perl Monks concerning the following question:
thanksif ( ! -f $BASEDIR/nbssoammsg/tdt/src/tdt9999.cxx ) { system ( qq(cd $BASEDIR/nbssoammsg/tdt/src)); for $TDT (split/\s+/,`ls *.tdt`){ system (qq($BASEDIR/nbsstools/tdtgen/bin/tdtgen $TDT)); } else { print "Skipping tdtgen file generation -- if you want to force a regen +\n"; print "of tdt files, delete $BASEDIR/nbssoammsg/tdt/src/tdt9999.cxx\n" +; } } I get the following syintax error : <code> syntax error at c:/Perl/myscript.pl line 315, near "else" syntax error at c:/Perl/myscript.pl line 329, near "}"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: syntax error
by Abigail-II (Bishop) on Aug 06, 2002 at 14:22 UTC | |
|
Re: syntax error
by mattriff (Chaplain) on Aug 06, 2002 at 14:28 UTC |