in reply to Re^2: What's happening in this expression? (Updated)
in thread What's happening in this expression?

> why $a remains uninitialized?

It's not the same $a

The lexical scope in the debugger is limited to the eval'ed line. Skip the my to avoid this effect.

edit

Fletch already explained it in detail

Re^3: What's happening in this expression? (Updated)

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