use File::Slurp; my %h; @h{map{chomp;$_}read_file("test1.txt")}=(map{chomp;$_}read_file("test2 +.txt"));
In reply to Re^2: adding text from different txt file into hash
by holli
in thread adding text from different txt file into hash
by MrChat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |