I notice you use Tie::File and Im sure I read in the pod that Tie was redundant and DBI should be used.I don't see that anywhere in its pod, but Tie::File and DBI do completely different things. Use Tie::File when you need to access a file (any type of text file) through an array interface. Use DBI when you want to access a datasource (could be a file, or a RDBMS) through statements in a data-querying language. I don't believe either one could make the other redundant.
Tie::File is included in the core Perl distribution since version 5.8.0, which is a pretty good indication of the robustness of its code. Apart from that, it's a pure Perl module, so you can just put the .pm file in the same directory as your script and it will work fine.
blokhead
In reply to Re: Re: Re: Style Comments
by blokhead
in thread Style Comments
by mgolini
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |