Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
selfgol [2007-06-07 12:03] – nik | selfgol [2007-06-08 18:18] – nik | ||
---|---|---|---|
Line 18: | Line 18: | ||
the self-replicating code, used the standard quine code: | the self-replicating code, used the standard quine code: | ||
- | < | + | < |
@s=( | @s=( | ||
q[printf pop@s, @s], | q[printf pop@s, @s], | ||
Line 50: | Line 50: | ||
---- | ---- | ||
- | loosely related, | + | ==== some perl quines |
+ | loosely related,.. from -> http:// | ||
Author: Tushar Samant | Author: Tushar Samant | ||
- | Note: This will produce itself, and will do so no matter what you set $a to in the beginning. So if the length of $a is n, and the size of the allowed character set is C, then at least C**n out of C**(n+K) strings are self-reproducing Perl programs. | + | Note: This will produce itself, and will do so no matter what you set $a to in the beginning. So if the length of $a is n, and the size of the allowed character set is C, then at least < |
< | < |