in reply to Unmatched right curly bracket ...
I'm not sure from the preceeding replies that you have solved the problem . . .but even if you have this is good to keep in mind.
I once stared at this subroutine for *5* hours trying to figure out where the missing curlie was . . .and eventually I found it. My problem? A missing curlie several hundred lines before - because my subs are generally at the end of a file, perl managed to parse the whole thing not finding the "missing curlie" error until the last couple of lines. Using the debugger would have helped had I known at the time how to use it. But keep in mind that, like run away lines and strings, missing curlies often creat errors at a distance - far more distance than any other error I've encountered.
Cheers,
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Unmatched right curly bracket ...
by blakem (Monsignor) on Mar 10, 2002 at 04:20 UTC | |
|
Re: Re: Unmatched right curly bracket ...
by Gerard (Pilgrim) on Mar 01, 2002 at 03:24 UTC |