in reply to uninitialized value loading into hash and printing
This builds a list where every element has been chomped and the beginning and ending quote removed and then assigns it to %hash. See. map and perlre for more info.my %hash = map { chomp; s{ ^" | "$ }()xg; $_ } <DATAFILE>;
_________
broquaint
update (broquaint): deal with the quotes too
|
|---|