in reply to Router Backup.pl failing (operator error no doubt)
I think the syntax error may actually be on line 42:
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`);
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Router Backup.pl failing (operator error no doubt)
by rmagin (Initiate) on Feb 15, 2013 at 14:04 UTC |
In Section
Seekers of Perl Wisdom