You are asking DBI what drivers it knows about.   You are then asking each driver what data sources it knows about.   But to ask each driver for that information, DBI has to load the module for each driver.   At that point you discovered that DBD::Proxy had some dependencies you hadn't installed yet.   As jasonk said, this isn't really a problem unless you _really_ wanted to use the Proxy driver.

I added a couple lines to your code to skip trying to load module DBD::Proxy and ran the loops to completion:

print "driver:\t$driver\n"; if( $driver eq 'Proxy' ) { print " skipping polling DSN's for Proxy driver.\n"; next; }
The output (on my system) was:
driver: CSV
dsn:    DBI:CSV:f_dir=test1
driver: Chart
driver: ExampleP
dsn:    dbi:ExampleP:dir=.
driver: File
dsn:    DBI:File:f_dir=test1
driver: ODBC
dsn:    DBI:ODBC:dBASE Files
dsn:    DBI:ODBC:Excel Files
dsn:    DBI:ODBC:MS Access Database
driver: Proxy
  skipping polling DSN's for Proxy driver.
driver: SQLite
driver: mysql
dsn:    DBI:mysql:mysql
dsn:    DBI:mysql:mytest
dsn:    DBI:mysql:test

In reply to Re: Re: Re: newbie wants to install DBI for ActiveState by shenme
in thread newbie wants to install DBI for ActiveState by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.