chop ($status=\Q$snmpset $oid s $rtr.cfg\Q);
If I comment out that line, I no longer get the syntax error. Maybe the \Q should really be backticks (qx)?
chop ($status=`$snmpset $oid s $rtr.cfg`);
In reply to Re: Router Backup.pl failing (operator error no doubt)
by toolic
in thread Router Backup.pl failing (operator error no doubt)
by rmagin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |