The Perl equivalent of your starting point is much closer of any of the other ones (which also probably have much less obscure forms).
2*$x
To make the first one equivalent to the others, you'd have to do something that defines a function, like the other ones do.
f(x) = 2x
In reply to Re: The Evolution of Language (redux)
by brian_d_foy
in thread The Evolution of Language (redux)
by tlm
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |