in reply to Re: Conditional initialization of lexical (my) variables
in thread Conditional initialization of lexical (my) variables

> If the "unless" condition results in the "my my_var" not executing, then my_var is never declared in the scope of the subroutine.

this doesn't make sense

mixing both for a parent scope opens a box full of problems. That's why declaration with post-fix conditions should be avoided.

Cheers Rolf
(addicted to the 𐍀𐌴𐍂𐌻 Programming Language :)
Wikisyntax for the Monastery