A little background...
I'm running a program which is currently just on windows but needs to be available to Unix and possibly some other OS's later. It checks the users TCP/IP default gateway and connects to a server in the vicinity of the user from this.
My question...
At the moment I run `ipconfig` and search the returned lines for the default gateway - this works fine for NT but thats OS specific (I think). Is there a Module which I can get this info from, I looked at ENV but couldn't get it from that - I'v searched CPAN but can't see anything which seems relevent. Thanks.