> >> -----Original Message----- > >> From: F.Xavier Noria [mailto:[EMAIL PROTECTED]] > >> > >> What would be the shortest code that leak? > > > > Its not really the length as much as the width > > of the whole that causes a leak.
This challange is now being covered on the golf mailing list. I can't find the archives, but here is some ideas: do$0 * self referring (works with near-infinite memory) - AUTHOR: Marko P. O. Nippula $~++while 1 * pure perl (works with near-infinite memory) - AUTHOR: Marko P. O. Nippula/Jonathan Paton $^Tx$^T * pure perl, kills any 5.6.1 perl on a 32 bit platform - (uses more than 2**32 bytes) * $^T is a CTRL T [single byte], replace the first $^T - with 1 to save a byte but only kill on most systems - AUTHOR: Jonathan Paton Jonathan Paton ===== $_=q|.,&@$$. ,.@$&@$. .&$$@. ,,$ ....!$_=$p.'&$@.',y'&$@' .,';for(/\S+/g){ !|.q| .$ .,@, ,$, .,.. @, ,$ ,,@ .,,.!++$.<22?${'y'.$_}=chr$.+64:[$$=${'y' !|.q| ,@$@&.,. $$$&, ..@&&$,,, $., ..!.$_},$y.=($.=~/22\|26\|3(3\|7)/x?' ' !|.q|. @ ., ,.&,,, , .$..&. .,$ .,,!.$$:"\l$$")]};$y=~/ (.*)/;warn"$1\n" !|.q|. $ .,. .,$$&&$...&., @.,.&@$@ .|,map{-$|--?$r:$p.=$_}split'!';eval$r __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]