Sign In/My Account | View Cart  
advertisement
-->




Perl Resources | Topic: Text Tools

TextDB
An add-on for perl 5 which uses the mechanism for tying associative arrays (%-variables) using packages. In this case you can access data in a text file with a format specified by you using class variables, giving a great deal of flexibility about how the data looks. Modes exist for line data (e.g. /etc/aliases) and column data (e.g. /etc/passwd or /etc/hosts), but the major use is for text files containing records with key/value pairs. Numerous variables exist for adapting to the format of the data accessed; you can access /etc/termcap or .netrc, for example.


Sponsored By: