Re: Sorting in-place

2001-08-07 Thread Ilmari Karonen
On Mon, 6 Aug 2001, Andrew Pimlott wrote: > On Tue, Aug 07, 2001 at 12:27:50AM +0300, Ilmari Karonen wrote: > > () is an empty list, and the fact that an empty list > > constant evaluates to undef in *scalar* context is an explicit feature > > of constant.pm. > > It doesn't. "()" isn't an emp

Re: Sorting in-place

2001-08-07 Thread Bart Lateur
On Tue, 7 Aug 2001 15:34:44 +0300 (EET DST), Ilmari Karonen wrote: >The stable cases also correspond exactly to the behavior you would get >if you defined your constants manually like this: > > sub CONSTANT_A () { return (); } Actually, if you look at the source for constant.pm, you see it acts

Re: Sorting in-place

2001-08-07 Thread Ronald J Kimball
On Tue, Aug 07, 2001 at 03:00:52PM +0200, Bart Lateur wrote: > BTW can anybody explain how the "magic" works? I mean: how comes that in > > use constant DEBUG => 0; > if(DEBUG) { > # things to do when debugging) > } > > that the if-block is supposed to be strip

Re: Sorting in-place

2001-08-07 Thread pcg
On Tue, Aug 07, 2001 at 03:00:52PM +0200, Bart Lateur <[EMAIL PROTECTED]> wrote: > that the if-block is supposed to be stripped from the compiled program, > as if DEBUG was replaced with a literal 0? Is the compiler so smart that > it recognizes a sub that returns a constant? It'd almost have to b

Japhs by SMS.

2001-08-07 Thread Abigail
Tonight at the Amsterdam.pm meeting we tried to make a JAPH with certain restrictions. The challenge came from Johan Vromans, who recently tried to SMS a JAPH, but found himself restricted to not being able to use lowercase letters. So, the challenge was set to create a JAPH that doesn't use low

Re: Japhs by SMS.

2001-08-07 Thread Abigail
On Wed, Aug 08, 2001 at 01:26:07AM +0200, Abigail wrote: > > So Merijn and I came quickly with similar Japhs: > > >BEGIN{$^H=2097152}$_="(?\173\160\162\151\156\164'\112\165\163\164\040\141\156\157\164\150\145\162\040\120\145\162\154\040H\141\143\153\145\162\012'\175)";/$_/; And this can be don

Re: Japhs by SMS.

2001-08-07 Thread Jeff 'japhy/Marillion' Pinyan
On Aug 8, Abigail said: >On Wed, Aug 08, 2001 at 01:26:07AM +0200, Abigail wrote: >> >> So Merijn and I came quickly with similar Japhs: >> >> >BEGIN{$^H=2097152}$_="(?\173\160\162\151\156\164'\112\165\163\164\040\141\156\157\164\150\145\162\040\120\145\162\154\040H\141\143\153\145\162\012'\17

Re: Japhs by SMS.

2001-08-07 Thread Kye Leslie
>Why not: > > 0=~"(?\173\LPRINT\E'J\LUST ANOTHER\E P\LERL\E H\LACKER\12'\175)"; > >65 chars. I'm not sure about the official implementation of SMS, but the ~ char isn't in the symbol table in my nokia phone.. anyone else have this? Kye. Kye Leslie: Helpdesk Officer - Need some help?