http://www.perlmonks.org?node_id=1069440


in reply to Re^2: Perl stops reading __DATA__ when meeting SUB character on Windows (history)
in thread Perl stops reading __DATA__ when meeting SUB character on Windows

Um, do you have some code to demonstrate that? I tried and "Ctrl-Z" doesn't change DATA one way or another, I used v5.8.9

My codes Re: Perl stops reading __DATA__ when meeting SUB character on Windows (ddumper), Re^2: Perl stops reading __DATA__ when meeting SUB character on Windows (Ctrl-Z on STDIN)

My recollection of perl 5.6 is that it behaved the same way, only when using perl - does ctrl-z play a role

  • Comment on Re^3: Perl stops reading __DATA__ when meeting SUB character on Windows (history)
  • Download Code