in reply to Re: database connect
in thread database connect

Yes I did add the \ to the last $i db2 connect to \$i user tester using password But I still get the connect error. Is there anything else I am missing...?

Replies are listed 'Best First'.
Re^3: database connect
by mzedeler (Pilgrim) on Jul 28, 2009 at 21:17 UTC

    I wouldn't spend time trying to find things that need perl-escaping, since the end result becomes messy and hard to maintain. In stead consider moving the shell script to a (script)file and call it or move the logic in the script to perl.