In that case, how about breaking it up into concatenated substrings?
tel->print('/apps/current/bin/getz -vf "off des" "[' . $database . ' -type: primary|predicted]" &> /data/holdFile.txt');
As for capturing the output of your command, try the backticks: http://perldoc.perl.org/perlop.html#%60STRING%60
In reply to Re^3: Telnet print issues...
by SuicideJunkie
in thread Telnet print issues...
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |