in reply to Re: Adding 2 + 2
in thread Adding 2 + 2
It often strikes me as a little strange (or unfortunate) to use array ref/deref for this. The scalar version is only one character longer:
print "the answer is ${\(2+2)}\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Adding 2 + 2
by shmem (Chancellor) on Jan 31, 2007 at 10:24 UTC |