Re: A new golf "Reversi" has started
Daniel Tiefnig <[email protected]> Sat, 22 Nov 2003 18:50:24 +0100
| Newsgroups | gmane.comp.lang.perl.golf |
|---|---|
| Message-ID | <[email protected]> |
Rick Klement wrote: > $^H does not have the special properties that $^C does, but $^H does > have an initial value of 256. Hmm. Does anyone know how to explain the following? $ perl -le 'print$^H' 0 $ perl -le 'print$^H++' 256 One could guess now $^H is set to 256 just when a modification is attempted. But: $ perl -le 'print$^H;$^H' 256 Or even: $ perl -le 'print$^H;print$^H' 256 256 But: $ perl -le 'print$^H,$^H' 00 I'm unillumined, and my Camel (3rd Ed.) only says I'll suffer horrible death, if I touch it. perlvar(1) of Debians Perl 5.8.2 is a little more chatty, but it doesn't say anything about that behaviour, and I anyways tend to believe the thing with horror and such.. lg, daniel