in reply to Variables in eval funcation

As it's a constant expression, Perl tries to evaluate it at compile time and (as you've seen) fails.

See Sean Burke's article Constants in Perl.

--
<http://dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg