Country Code List Cleanup
Reads MARC code list for countries (plain text). Writes only codes and country (or other place) name, separated by tab. For obsolete codes, adds these at end of output file (keeping the hyphen).
After cleaning, copy the codes (obsolete, valid, (and match-obsolete to valid)) into a validation-check program/module as data.
Remove OUT2? I think this is just for error checking/testing?
Rewrite code to account for split lines (language name too long to fit on one line, so it is split onto another, possibly during save from Web browser. Easier to take care of these exceptions manually, as there are only a few and the code list shouldn't need to be changed very often.
This code may be distributed under the same terms as Perl itself.
Please note that this code is not a product of or supported by the employers of the various contributors to the code.
Bryan Baldus eijabb@cpan.org
Copyright (c) 2003-2004
To install MARC::Errorchecks, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MARC::Errorchecks
CPAN shell
perl -MCPAN -e shell install MARC::Errorchecks
For more information on module installation, please visit the detailed CPAN module installation guide.