Terrence Brannon wrote: > > > sub test { > ... > my $parse = parse_sql $sql; ## calls SQL::Statement > ... > return unless ($parse->{command} =~ /select/i);
It's still not clear to me exactly what you're expecting SQL::Statment to do, but if it's a simple as identifying the command, my newer version (still in development) can allow you to bypass the error message you're getting simply by setting PrintError off. I'll send you a development version if you'd like. -- Jeff