Hi,
I'm not sure I exactly understand what you're asking. The question seems to point to running a perl program on a remote machine, i.e. execute it remotely? but in your question you seem to indicate that this will run locally and connect to a remote machine.
As already said, the lack of OS information makes this a little difficult, but assuming it's Win32 you may want to use WMI. If that's the case, take a look at
Re: how to identify the windows drives.
Otherwise, try a SuperSearch for WMI.
Regards,
Smaug.
Update:
Also see the original question in the thread mentioned:
how to identify the windows drives