in reply to Re^2: curious behavior: why does it do this?
in thread curious behavior: why does it do this?

... why print for "1" .. "-1"; doesn't output the numbers 1 through to 99. ... (I'm running perl-5.28.0 on Windows.)

And likewise 5.8 on Win7. And likewise puzzled.

c:\@Work\Perl\monks>perl -wMstrict -MData::Dump -le "print qq{perl version: $]}; ;; my $h = { args => [ '1' .. '-1' ] }; dd $h; ;; print for '1' .. '-1'; " perl version: 5.008009 { args => [] }


Give a man a fish:  <%-{-{-{-<