Hashes are dictionaries ... $age{Peter} is pronounced age-of-Peter
$price{hammer} price-of-hammer
$definition{dictionary} definition-of-dictionary ... more on this type of thing in Re^3: highest value in hash (virtual teddybear)
Speaking of csv and dictionary-of-@fields :) you could even use the technique with fixed with records :)
Examples at
| examples/csv2xls | Script to onvert CSV files to M$Excel |
| examples/csv-check | Script to check a CSV file/stream |
| examples/csvdiff | Script to shoff diff between sorted CSV files |
| examples/parser-xs.pl | Parse CSV stream, be forgiving on bad lines |
merging csv files into a third file preserving column & row
In reply to Re: Cool way to parse Space Separated Value and CSV files
by Anonymous Monk
in thread Cool way to parse Space Separated Value and CSV files
by greengaroo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |