- or download this
$ perl -ce 'chop ($status=\Q$snmpset $oid s $rtr.cfg\Q);'
Substitution pattern not terminated at -e line 1.
- or download this
$ perl -ce 'chop ($status="\Q$snmpset $oid s $rtr.cfg\E");'
-e syntax OK
- or download this
$ perl -ce 'chop ($status = quotemeta(`$snmpset $oid s $rtr.cfg`));'
-e syntax OK