in reply to Re: Re: Style Comments
in thread Style Comments
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Style Comments
by wolis (Scribe) on Sep 09, 2003 at 02:36 UTC |