Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
selfgol [2007-06-07 12:03] nikselfgol [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:
  
-<code>+<code perl>
   @s=(    @s=( 
     q[printf pop@s, @s],      q[printf pop@s, @s], 
Line 50: Line 50:
 ---- ----
  
-loosely related,.. some perl quines from -> http://www.nyx.net/~gthompso/quine.htm+==== some perl quines ====
  
 +loosely related,.. from -> http://www.nyx.net/~gthompso/quine.htm
  
 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 <nowiki>C**n out of C**(n+K)</nowiki> strings are self-reproducing Perl programs.
  
 <code> <code>
  • selfgol.txt
  • Last modified: 2020-10-22 15:13
  • by nik