perl script to open an executable and pass the user credentials

view story

http://www.unix.com – Is it possible to open an executable file and pass user credentials through the perl script. If yes Please do share the CPAN module names and the way to access the executable file. For eg. I want to open the IBM LOTUS Sametime through my perl code and pass the user credentials like username,password and hostname through my perl script. Any suggestions,ideas on the above will be much helpful for me..... (HowTos)