Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: variable inside hash key
by toolic (Bishop) on Mar 29, 2016 at 14:21 UTC | |
by Anonymous Monk on Mar 30, 2016 at 01:12 UTC | |
by Anonymous Monk on Apr 06, 2016 at 05:55 UTC | |
by hippo (Archbishop) on Apr 06, 2016 at 08:47 UTC | |
by Anonymous Monk on Apr 06, 2016 at 11:13 UTC | |
by Anonymous Monk on Apr 06, 2016 at 12:23 UTC | |
| |
|
Re: variable inside hash key
by davido (Cardinal) on Mar 29, 2016 at 15:07 UTC | |
|
Re: variable inside hash key
by AnomalousMonk (Archbishop) on Mar 29, 2016 at 19:42 UTC | |
|
Re: variable inside hash key
by stevieb (Canon) on Mar 29, 2016 at 14:22 UTC |