|
|
| laziness, impatience, and hubris | |
| PerlMonks |
Re: Re: Copying complete module code into a scriptby petral (Curate) |
| on Aug 03, 2001 at 07:16 UTC ( [id://101907]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
Of course, the problem with a missing right bracket is that perl keeps looking for it till it reaches the end of the file. So that damned error _always_ gives the last line! The best bet is a syntax sensitive editor. Though come to think of it it could be a good use for Text::DelimMatch...
(It would be nice if perl reported the line of the left bracket, but I guess that would be yet more complications in the parser.)   p
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||