in reply to capturing error messages from backticks or system
Rather than calling a flakey external program, why not just get Perl to do the job itself? Use Win32::NetResource and NetShareAdd, and then in essence all you're doing is performing the underlying OS call directly. Should be much faster and less error-prone.
--
g r i n d e r