in reply to DBI Long File names?
And, you should also print the sql out before each 'prepare', like:sub get_columns ($) { my $log = shift; ### Add this ### print "get_columns sub TOP: \$log = $log\n"; my @Cols = ();
You get the idea - just make sure you're getting everything you think you are. Post back your results.my $sql = "SELECT * FROM $log"; ### Add this print ### print "get_columns sub just before prepare: \$sql = $sql\n"; $sth = $dbobject->prepare($sql);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: DBI Long File names?
by talwyn (Monk) on Sep 29, 2003 at 21:50 UTC |