Help for this page

Select Code to Download


  1. or download this
    my %text_for = map { chomp; split /\s*\|\s*/, $_, 2 } <$iplist>;
    
  2. or download this
    while (<$iplist>) {
        chomp;
        my ($k,$v) = split /\s*\|\s*/, $_, 2;
        push @{ $text_for{$k} }, $v;
    }