Hm. An error on line 21 of an 11 line script is interesting. It's quite hard to see how that could come about.
Could you install Devel::Trace and then run your script using it and post the output here. It should only be a few lines.
perl -d:Trace Z:\ScriptPerl\TMP\services.pl
In reply to Re^3: Help needed with WIN32::Service
by BrowserUk
in thread Help needed with WIN32::Service
by the_hawk_1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |