From: Austin S. <te...@of...> - 2004-02-27 23:55:14
|
On Fri, Feb 27, 2004 at 01:25:27PM -0700, Dan Young wrote: > I'm trying to user Perl/Expect to spawn sqlplus and connect to a database via the Net8 vs. IPC. I'm running into problems with the @ character in the connect string, i.e connect scott/tiger@mydb, with $exp->send. I've tried to escape it with \@ but it doesn't work. Does anyone have any ideas or do I nned to stick to IPC connections???? IIRC you can put the the connect string on the command line, like 'sqlplus scott/tiger@mydb'. I'm not sure why send is giving you grief, but you can simply print to it: print $exp 'connect scott/tiger@mydb' . "\r"; If that doesn't work you're probably doing something wrong and should try using the documented debugging methods. Austin |