in reply to Re^3: Conditional initialization of lexical (my) variables
in thread Conditional initialization of lexical (my) variables
Ah ok, that appears to be a quite specific case being caught, I would guess during constant folding:
% /opt/v5.36.0/bin/perl -wlE 'BEGIN { print $] } my $x if $ARGV[0]' 0 5.036000 % /opt/v5.36.0/bin/perl -wlE 'BEGIN { print $] } my $x if $ARGV[0]' 1 5.036000 %
|
|---|