Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Is there a way in Perl do create the same result as a : addr = inet_addr("127.0.0.1"); in perl?

Replies are listed 'Best First'.
Re: inet_addr
by wog (Curate) on Jun 09, 2001 at 03:02 UTC
    See the Socket module, in particular the inet_aton function.