Hi i have a sql file(test.sql) something as simple as ,
select emp_id from employees
where country='xxx'
and department='sales'
i know how to call this sql using a shell script, we normally use
#/bin/ksh
sqlplus $login $password test.sql
so my shell will call this sql and i spool this into a file. But how to do the same using a perl script.
I'm totally new to perl script and any help is greatly appreciated.