We can't help if you don't show the code you tried and tell us what the error messages are. I could guess, but I'd probably be wrong. Instead, if you've got a bit of code that uses a module such as Win32::NetResource, then show the code, and tell us what error messages you're getting. Otherwise you're just waiting for a lucky guess.
Remember--you want us to help you. Don't make us work too hard to help, or we'll move on to the next question.
When your only tool is a hammer, all problems look like your thumb.