Help for this page

Select Code to Download


  1. or download this
    my ($ipnum) = ($msg =~ m{has address ([\d\.]+)});
    
  2. or download this
    LINE:
    for my $line ( split "\n", $dns_data ) {
        next LINE unless index $line, 'has address';
        my ($ipnum) = ($msg =~ m{([\d\.]+));