Re: Multiple directories for 'f_dir' parameter for DBD::File (especially DBD::CSV)

"H.Merijn Brand" <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.sybase.devel
Message-ID <[email protected]>
On Tue, 16 Nov 2010 07:46:53 +0100, Jens Rehsack
<[email protected]> wrote:

> Hi all,
> 
> in an application (I call it App::Automated::Letter) I will process
> some "csv databases" (OpenOffice.org/Excel exported files). I'd like
> to allow the application to find the appropriate csv file (table name
> for automated letter processing run will be specified per run or on
> command line) in a list of directories (e.g. ['.',
> '$HOME/Documents',
> '$HOME/Letter', ...]).
> 
> I'd like to point on the field of operation: desktop end users -
> totally different from administrators, operators etc. :)
> 
> Would anyone mind when I patch DBD::File to accept a list of
> directories in f_dir and search for a matching db-file in this list?

Why not just create a pool of database handles instead?

> I thought about using an 'f_dir_list', too - but there're always users
> who would try to specify both and than a behavior must exist for such
> a situation. If the 'f_dir_list' is preferred - such a behavior must
> be defined, too.
> 
> Best regards,
> Jens


-- 
H.Merijn Brand  http://tux.nl      Perl Monger  http://amsterdam.pm.org/
using 5.00307 through 5.12 and porting perl5.13.x on HP-UX 10.20, 11.00,
11.11, 11.23 and 11.31, OpenSuSE 10.1, 11.0 .. 11.3 and AIX 5.2 and 5.3.
http://mirrors.develooper.com/hpux/           http://www.test-smoke.org/
http://qa.perl.org      http://www.goldmark.org/jeff/stupid-disclaimers/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.