> Please can you advise ?
> 
> #!/usr/bin/perl
> 
> use Mysql;
> 
> $dbh = Mysql->connect("localhost","mailscanner","root","c0nc3pt") or
> die ("Error " . Mysql->errno . " - " . Mysql->errstr);
> ...

I do not see any DBI in here.

Though ... http://search.cpan.org/~capttofu/DBD-mysql-
3.0008/lib/Mysql.pm says "M(y)sqlPerl is no longer a separate module. 
Instead it is emulated using the DBI drivers. You are strongly 
encouraged to implement new code with DBI directly." ...


In either case you put the data for the row into @row and then 
attempt to print $row. Those are two different variables.

Jenda
===== je...@krynicky.cz === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed 
to get drunk and croon as much as they like.
        -- Terry Pratchett in Sourcery


-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to