in reply to Re: Declaring a lexical within a 'if' condition
in thread Declaring a lexical within a 'if' condition

> The declared variable is not introduced (is not visible) until after the current statement.

exactly, it's meant to allow constructs like my $x=f($x) where the new lexical can be initialized with help from the old scope!

Cheers Rolf