News for hackers. Stuff that matters.
Re:Is Perl 6 Being Renamed? by glofish on Thursday August 29, 2019 @11:47AM (#20830534)
You are not alone feeling that. Check out to paper titled "93% of Paint Splatters are Valid Perl Programs"

https://famicol.in/sigbovik/

"In this paper, we aim to answer a long-standing open problem in the programming languages community: is it possible to smear paint on the wall without creating valid Perl?"

Re:Is Perl 6 Being Renamed? by Dylan16807 on Thursday August 29, 2019 @07:27PM (#20834675)
Except that the vast majority of those OCRs are just a series of letters. They all parse as "a variable name, that's it", and it's not even weird for that to be a valid line.

It's the kind of joke that doesn't teach you anything, rather than the kind that does.

Re:Is Perl 6 Being Renamed? by goto11 on Friday August 30, 2019 @02:13AM (#20836301)
I learned that:

    the Perl program “ Illegal division by zero at/tmp/quine.pl line 1. ”, when saved in theappropriate location, outputs “ Illegaldivision by zero at /tmp/quine.plline 1.”
Re:Is Perl 6 Being Renamed? by glofish on Friday August 30, 2019 @01:51AM (#20836229)
I think there are a couple of neat examples there:

  lerzfijglpFiji-j

  -*?
plus I learned about the "unquoted string" feature that is the reason why the joke works

also, the writing is quite entertaining.

Re:Is Perl 6 Being Renamed? by Grinnz on Friday August 30, 2019 @01:06PM (#20840441)
It's not so much a feature as how really old versions of Perl worked. Any program using strict doesn't allow it unless it's a known subroutine name, built-in or other symbol.

Except in certain cases because back-compat is complicated.