in reply to Common Windows Network info

I'd recommend changing the interface. The code creates an instance object, but doesn't use it. I'd say don't bother trying to make it look OO when it really isn't.

The module is providing a series of routines, which don't depend on each other. This is a great situation for using Exporter. Set up an @EXPORT_OK array and put all your routines in there, then let the caller pick.