Hacker News new | ask | show | jobs
by omoikane 21 days ago
There is a gem in the footnote right below gggijgziifiiffif, where it says it's possible to make a perl error quine by writing this line to the right location:

    Illegal division by zero at /tmp/quine.pl line 1.
I just tried this perl 5.42.0, and any file name starting with a '/' will work.

See also:

https://news.ycombinator.com/item?id=40202182

https://news.ycombinator.com/item?id=19576872

https://codegolf.stackexchange.com/a/48394

1 comments

> I just tried this perl 5.42.0, and any file name starting with a '/' will work.

any file name? How about /1

?