Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
The differences obviously by putting '\' in so the command line is passed the double quote marks properly. Unfortunately an error occurs when running this from perl (runs fine on the commandline when I put it the first code snippet in). SO I've got a feeling the backslashes are wrong, but what other special characters do I need to switch off here? Thanks again guys!$tel->print("/apps/current/bin/getz -vf \"off des\" \"[$database -type +: primary|predicted]\" &> /data/holdFile.txt"); $tel->waitfor('/$/');
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Telnet print issues...
by Gangabass (Vicar) on Oct 03, 2007 at 10:15 UTC | |
by Anonymous Monk on Oct 03, 2007 at 10:23 UTC | |
by SuicideJunkie (Vicar) on Oct 03, 2007 at 13:30 UTC |