in reply to Re^3: Happy 2006
in thread Happy 2006

In my opinion, what would make the puzzle much more interesting would be to require single expression evaluation as your solution does but prohibit the use of eval $string.
You went to a school where you didn't have to program a calculator in your first year? I have a different opinion - writing an expression evaluator is boring, and it would be a reimplementation of functionality that perl already provides.

I like string eval. I wish every programming language had such functionality.

Perl --((8:>*