in reply to no matching '}'

use strict; use warnings; ... yes?

Replies are listed 'Best First'.
Re^2: no matching '}'
by fionbarr (Friar) on Feb 03, 2015 at 17:40 UTC
    yes....perlcritic, perltidy and 'perl -c' report that all is fine. using strict and warnings
      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?