Jonathan Paton <[EMAIL PROTECTED]> writes: >> The error output tells me that perl has found a difference in the >> number of closing and opening items. Can I get finer resolution >> somehow? > > Not sure, but you would think there was. > > A consistant coding style (including indenting) helps make most > problems easy to spot. You could also diff against a previous > version.
Interestingly enough I have done that. Emacs provides a very detailed method where you have both files in buffers where emacs ediff shows you exactly the differences, with both of them displayed. I've taken a working previous example of this script and diffed it that way. Examining each difference closely for missing stuff. I didn't find any... quite puzzling. Especially since the chunks of diff were all small. no more than 5-7 lines at a time. And mostly much smaller. > You could split your long(ish) script down in to smaller parts. I guess I'll have to do that. I'm thinking I'll take the working shorter version and add stuff to it to make it do what I want first though and see if I hit the same snag first. It wasn't that much really. Two additional args to getopts with concomittant code to support there chore and some routine to examine the content of a directory and come up with the hightest number among the numbered files. > If you are really stuck, and you ARE using whitespace effectively, > then send a copy to MY mailbox (***NOT THE LIST***). I may take you up on that... but not before a rewrite. Thanks. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>