in reply to
sqlplus or DBI
the system call returns an error code -- and thats all.
If you want to be able to parse the output, use backticks:
@results = `sqlplus user/pass \@test.sql`;
[download]
Comment on
Re: sqlplus or DBI
Download
Code
Replies are listed 'Best First'.
Re: Re: sqlplus or DBI
by
x31forest
(Novice)
on Nov 18, 2002 at 18:24 UTC
Yea but the error code is not correct. Even if I have errors in my sql, it still returns 0, success.
What would I be parsing the output for ?
thanks,
[reply]
In Section
Seekers of Perl Wisdom