in reply to "search pattern not terminated " error

Tha last line (?>) doesn't make any sense. Just remove it and you'll be fine.

Replies are listed 'Best First'.
Re^2: "search pattern not terminated " error
by svend_ok (Initiate) on Feb 25, 2010 at 19:28 UTC
    Thank you.

      Specifically, Perl thinks you have opened a special 'match-only-once' regex (or else maybe a weird  ?: ternary operator).
      See ?PATTERN? in perlop.