Hi Monks,
I would like to pass the string below to shell using backticks and have tried using escape characters in a number of different combinations, but nothing seems to work. I have no problems passing simple commands like ls so I'm guessing I need escape characters in the right place. Your help would be very much appreciated. Thanks
my $snmp_trap = `/usr/bin/snmptrap -v 2c -c public 127.0.0.1 '' .3.5.6.1.4.7.34566.12343.897.0.2 \`In reply to using backticks to pass commands by zatarboy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |