in reply to Re: Using Data::Dumper on a MySQL statement handle
in thread Using Data::Dumper on a MySQL statement handle

That's a great link! It isn't the results I'm concerned with, since they are just fine. It's the actual SQL statement that is being sent that I'm interested in checking. I just need to be able to check the SQL statement from the $sth object to verify that the subclassing was successful.
  • Comment on Re^2: Using Data::Dumper on a MySQL statement handle

Replies are listed 'Best First'.
Re^3: Using Data::Dumper on a MySQL statement handle
by mje (Curate) on Nov 11, 2010 at 09:37 UTC

    I may be misunderstanding but can't you just look at the Statement attribute?

      mje, that worked great!
      print $dbh->{Statement}
      is your friend.