syntax error at =# line 2, at EOF Execution of =# aborted due to compilation errors.
Save to a file named "=#". I vaguely recall a similar Perl quine but I was surprised at how long this took me to come up with. I even tested it on several versions of Perl on both Unix and Windows. (: To validate that it is a quine under Unix (or WinNT and later, if you have a "diff" that knows how to read from stdin), use: perl "=#" 2>&1 | diff "=#" - Update: In PerlMonk's tradition, I've done the search after creating the node and found that similar quine here. (: |
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: World's worst Perl quine
by blakem (Monsignor) on Oct 17, 2001 at 23:44 UTC | |
Re: World's worst Perl quine
by Sweeper (Pilgrim) on Oct 18, 2001 at 09:47 UTC | |
World's most boring Perl quine
by cLive ;-) (Prior) on Oct 18, 2001 at 22:31 UTC | |
by VSarkiss (Monsignor) on Oct 18, 2001 at 22:59 UTC | |
by merlyn (Sage) on Oct 19, 2001 at 01:13 UTC | |
by blakem (Monsignor) on Oct 19, 2001 at 02:15 UTC | |
by myocom (Deacon) on Oct 19, 2001 at 03:28 UTC | |
by scain (Curate) on Oct 18, 2001 at 22:38 UTC | |
by tye (Sage) on Oct 22, 2001 at 08:15 UTC | |
by strfry() (Monk) on Oct 19, 2001 at 23:13 UTC |