Is this the same problem tye was talking about
There were two issues raised in that earlier thread. I noticed the permission problem. tye noticed the bad path. At the time, the OP was doing offline testing, so he fixed that bad path and ignored the permission problem. Until now.
It probably isn't the permissions of the perl script that are the issue.
Correct. Services usually run as LocalSystem which doesn't have network permissions. The service and/or the script needs to run as a user with network permissions. I don't know which user that would be, or how to grant such permissions.