mobiGeek has asked for the wisdom of the Perl Monks concerning the following question: (network programming)

I would like to get a list of all the network interfaces (or IP addresses) the current machine is using. Currently I can get this information using ifconfig -a on Linux, or ipconfig /all on W32.

Any clues muchly appreciated,

Originally posted as a Categorized Question.