I am trying to set a variable with in the key of a hash, and am seeing an error message
$pic = 1 print {$r3_filehandle_2} "set groups VPN-HE-TUNNEL-CUST$ip-ipsec1 in +terfaces $v->{R3R3_$pic\_IF} ";
while executing this i see this message. Bareword "_IF" not allowed while "strict subs" in use at oracle_setup.pm line 2376. Here R3R3_$pic\_IF is a key of hash v
In reply to variable inside hash key by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |