/ Published in: Perl

This method doesn't rely on parsing 'ifconfig' tool output, and should work in any Linux distribution, but also could work in other POSIX environments.
The function returns a string with IPv4 address or 'undef' if it's not possible.
The function returns a string with IPv4 address or 'undef' if it's not possible.
Comments
