I am trying to do addition/multiplication with in the hash
my %g_tun = qw ( R1 100*32+1 R2 1 R3 100*32+1 ); print "G is $g_tun{R1}\n";
Output is this. GRE is 100*32+1 Is there a way to do the expression with in the hash value itself
In reply to Expression inside hash by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |