in reply to Add database connectivity with Perl

My first thought is that you did something like "print @ary;", which would have stuck all the elements of the array together and printed them on one line.

Try "print "@ary\n";": My bet is that there will be spaces, and you can pick one of the drivers installed...

Replies are listed 'Best First'.
Re^2: Add database connectivity with Perl
by Jenda (Abbot) on May 20, 2009 at 21:47 UTC

    Well looking at the list you will most likely have to install some driver. First you should know what database do you want to connect to or what operating system is your script running under. If you're using Windows, it's quite likely you'll want to install DBD::ODBC.

    Jenda
    Enoch was right!
    Enjoy the last years of Rome.