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


in reply to Black Perl updated for Perl 5

As an interesting side note, if you change $scan back to scan (as in the original) it compiles but dumps core. Maybe I should have left it that way.

Yes, it should have been left that way. If you are going to dabble in "Black Perl" then you should expect bad things (like core dumps) to happen. ;)