Help for this page

Select Code to Download


  1. or download this
    @iparray = unpack ('C4', (gethostbyname $machine) || next );
    
  2. or download this
    my @iparray =
        map defined() ? join('.', unpack 'C4', $_) : (),
        map scalar(gethostbyname $_),
        @machine;