in reply to Re^2: no matching '}'
in thread no matching '}'

I'm just realizing that you are talking about a vi problem with your way of coding...

Ahhhhhhhh!

Cheers Rolf

PS: Je suis Charlie!

Replies are listed 'Best First'.
Re^4: no matching '}'
by AnomalousMonk (Archbishop) on Feb 03, 2015 at 18:30 UTC
    ... a vi problem ...

    Like maybe vi syntax parsing getting confused by some Perl statement like

    c:\@Work\Perl>perl -wMstrict -le "my $string = 'xxx foo{ yyy'; print 'match' if $string =~ /foo{/; " match


    Give a man a fish:  <%-(-(-(-<

Re^4: no matching '}'
by fionbarr (Friar) on Feb 03, 2015 at 17:49 UTC
    perhaps it's a problem with vi?

      Resolved by changing to emacs? <duck />

      Update: Try running it through a pretty-printer. That should, at least, align the blocks so that the curly brace is no longer an issue. Indentation can make so much difference when reading source.

      --MidLifeXis