Variables cannot stand in for operators. Again, you're sort of just making syntax up as you imagine it ought to be. Reading perlintro may help you to bring your expectations in line with the reality of the language.
Dave
In reply to Re^3: cv = (irand(2))?"+":"-";
by davido
in thread cv = (irand(2))?"+":"-";
by monorels
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |