If you're running as a service, you will face the problem that you can either run with system privileges, or access the network, but not both at the same time. AFAIK there are no nice ways around this, and in a certain sense, this is also what you want, security wise.
The thing is, I don't know of a solution for your problem, except either switching the user or having two services running as different users, which communicate through files or named pipes.
perl -MHTTP::Daemon -MHTTP::Response -MLWP::Simple -e ' ; # The $d = new HTTP::Daemon and fork and getprint $d->url and exit;#spider ($c = $d->accept())->get_request(); $c->send_response( new #in the HTTP::Response(200,$_,$_,qq(Just another Perl hacker\n))); ' # web
In reply to Re: Can Win32::Daemon access remote shares?
by Corion
in thread Can Win32::Daemon access remote shares?
by rah
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |