in reply to tr operator in eval -- updated

You seem to be confusing eval BLOCK and eval EXPR. They do very different things.

see eval

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery