in reply to Re: SQL Scripts with PERL
in thread SQL Scripts with PERL

No. The OP script is preparing and executing each line of the external file.

Unless a line contains more than one statement, it seems to me that the only mistake is the one outlined by duff.