On Thu, 2008-08-21 at 17:46 +0530, Amit Saxena wrote: > I am using "vi" on Solaris. > > I can also use "%" in command mode for "vi" to match parenthesis and curly > braces. However this approach results in lots of matching open brace against > the close one etc when majority of the lines in the code contains curly > braces (through references etc). > > Though I must admit that this was the approach I used yesterday, but I have > to do this for 3k lines of code.
At first, I just look at the matching brace for the subs. If they don't end where I expect them to, I look inside. The other thing to do is not create large files. Separate your subs by function and store them in modules. -- Just my 0.00000002 million dollars worth, Shawn "Where there's duct tape, there's hope." Cross Time Cafe "Perl is the duct tape of the Internet." Hassan Schroeder, Sun's first webmaster -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/