$ARGV[0] = 1 $ARGV[1] = + $ARGV[2} = 3 I want to add $ARGV[0] and $ARGV[2]. How can I get perl to see $ARGV[1] as an operator and not a string?
In reply to extract an operator from a string by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |