Um, let me clarify -- I parse the sql that is bracketed by BEGINSQL and ENDSQL and feed it to DBI for execution.
-Joe --- Peter Scott <[EMAIL PROTECTED]> wrote: > At 01:13 PM 3/18/02 -0800, Joe Raube wrote: > >I have a file that contains, among other things, SQL that is > >bracketed by BEGINSQL and ENDSQL. > > > >I have written perl code that parses this out and executes it, and > it > >is working for 99% of the cases. > > Sounds like you just reinvented a fairly large wheel. Have you > seen > SQL::Statement? > > http://search.cpan.org/doc/JZUCKER/SQL-Statement-1.004/lib/SQL/Statement.pm > -- > Peter Scott > Pacific Systems Design Technologies > http://www.perldebugged.com > __________________________________________________ Do You Yahoo!? Yahoo! Sports - live college hoops coverage http://sports.yahoo.com/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]