in reply to Re: Open services.msc
in thread Open services.msc

Looked but didn't understand why as i'm still learning, i did apologise in advance

Replies are listed 'Best First'.
Re^3: Open services.msc
by Corion (Patriarch) on Jul 26, 2011 at 20:18 UTC

    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.