Re: A new golf "Reversi" has started
[email protected] ((Ton Hospel)) Sun, 23 Nov 2003 16:02:08 +0000 (UTC)
| Newsgroups | perl.golf |
|---|---|
| Organization | lunix confusion services |
| Message-ID | <[email protected]> |
In article <[email protected]>, Daniel Tiefnig <[email protected]> writes: > $ perl -le 'print$^H;print$^H' > 256 > 256 > > But: > > $ perl -le 'print$^H,$^H' > 00 > Yup, $^H is *very* magic. In practise in all cases you really USE it, it tends to be 256. Even on uses that are "single" like: -p0 for$n((0,7..9,7)x$){$_=reverse,s/\.(?=.{$n}(x.{$n})+o)/*/s} (64) For how exactly it does this, you'll have to read the source code I'm afraid. In the docs it comes with a: Its availability, behavior, and contents are subject to change without notice.