From: Harry Putnam <[EMAIL PROTECTED]> > I'm working on a program with some 433 lines of perl code. > Some where in the course of editing today I've run up on an error that > I need some way to debug. > > the code includes > use diagnostics; > > And the message I get when I try to run it: > > Missing right curly or square bracket at ./nms2.pl line 433, at end > of line syntax error at ./nms2.pl line 433, at EOF Execution of > ./nms2.pl aborted due to compilation errors (#1)
If your editor supports finding or highlighting the matching brace, try to add a closing } or ] and see where does the editor think the matching one is. If nothing more then at least you should be able to find out which one is "missing". Jenda ===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz ===== When it comes to wine, women and song, wizards are allowed to get drunk and croon as much as they like. -- Terry Pratchett in Sourcery -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>