Re: [SPOILER] RPN calculator

Roger Burton West <roger-UvLOT2mcgw/[email protected]> Fri, 1 Oct 2004 17:57:58 +0100
Newsgroups gmane.comp.lang.perl.qotw.discuss
Message-ID <[email protected]>
On Fri, Oct 01, 2004 at 11:00:59AM -0500, Rod Adams wrote:

>my @perl_unary_ops    = qw{ ++ -- sin cos abs int exp log sqrt atan2 rand };

Um... atan2 takes two arguments. That's why I distinguished between
binary-infix and binary-prefix operations in my solution.