in reply to Open services.msc

search pattern not terminated at services9.pl line 7

So, have you looked at line 7?

Replies are listed 'Best First'.
Re^2: Open services.msc
by Evilbert (Initiate) on Jul 26, 2011 at 20:07 UTC
    Looked but didn't understand why as i'm still learning, i did apologise in advance

      Line 7 in your posted code looks like

      ?>

      ... and that just doesn't make sense to Perl. It sees a question mark, and thinks that you want to do a pattern match, see perlop on m?PATTERN? resp. ?PATTERN?, but then it's missing the "closing" question mark.