The problem with this is, i need to use the output &$key_MS, with in a hash key and it may not work
my $key_MS = sub { "R3R3_${pic}_IF"; }; print "set service-interface $v->{&$key_MS}.0\n";
In reply to Re^4: variable inside hash key
by Anonymous Monk
in thread variable inside hash key
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |