in reply to Conditional initialization of lexical (my) variables

Did I find a bug in the conditional initialization of lexical (my) variables?

No. The documentation explicitly forbids you from using a lexical var without first executing the my statement.