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

yes....perlcritic, perltidy and 'perl -c' report that all is fine. using strict and warnings

Replies are listed 'Best First'.
Re^3: no matching '}'
by LanX (Saint) on Feb 03, 2015 at 17:47 UTC
    I'm just realizing that you are talking about a vi problem with your way of coding...

    Ahhhhhhhh!

    Cheers Rolf

    PS: Je suis Charlie!

      ... 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:  <%-(-(-(-<

      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