- or download this
%file2 = 'Source.txt' ;
open(INFO, "<%file2" ) ;
- or download this
open(INFO, '<Source.txt');
- or download this
my %table;
open(IN, '<Source.txt') or die;
...
my($ip, $country) = split(' ', $_, 2);
$table{$ip} = $country;
}
- or download this
open(OUT, '>>conversion.txt') or die;
foreach $line1 (@lines1) {
...
}
}
close OUT;