in reply to Matching against $_ behaves differently than matching against a named scalar?

I have duplicated your result. (Strawberry perl 5.24.1 on window 7) Very strange indeed! I am not clear which we should 'expect'. Is this an example of the 'nested block' referred to in the documentation of $<digits> in perlvar?
Bill
  • Comment on Re: Matching against $_ behaves differently than matching against a named scalar?