in reply to Re: Re: Perl Gotchas.
in thread Perl Gotchas.

A good trick in this case is to insert a } to the end of the file, and find its pair with your text editor. Most editors nowdays can do that (^G in joe; ^K[ in borland (unsure); % in vi; ^F^[b in emacs; } in less). Of course, this won't always work, it might jump to a different place than where the error is, but it's worth a try.