Hi Dave,
yes. I added '/' to escape @ as it was considering @ as global symbol.
I tried to use capture with the connected db, stdout output is "SQL*Plus: Release 12.1.0.2.0 Production"
stder output is blank and exit output is 0. the output is the same with the down db.
My intention is to verify database connection, so it is not a solution for me. And I cannot use DBI module.