Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
The DBI is being subclassed in DBConnect to add comments to the SQL statement. I need to write a unit test right now to check the SELECT before it being executed.$dbh= DBConnect::connect(); #Established connection $sth = $dbh->prepare("SELECT * FROM test WHERE 1"); print Dumper($sth)
|
|---|