On Fri, 14 Dec 2001, Jeff 'japhy' Pinyan wrote: > On Dec 14, Ilmari Karonen said: > >On Thu, 13 Dec 2001, Jeff 'japhy' Pinyan wrote: > >> On Dec 14, [EMAIL PROTECTED] said: > >> > >> >what is the longest piece of perl code $c which is "perl -c" correct with > >> >the requirement that each character in $c is ord-less than the next one. ie > >> > >> !&'()*+-.0123456789<=>@ABCDEFGHIJKLMNOPQRSTUVWXYZ^_abcdefghijklmnopqrstuvwxyz{} > >> > >> Note the leading space. I think that's as good as you'll get. > > > >I think I can do better, quite easily: > > > > >#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ > > We were explicitly asked to ignore #.
Oops, so I see. That's what I get for not reading the original spec carefully enough. \cD seems to be out too. (Although it was fun to find out a new trick, so I guess the effort wasn't all wasted.) It seems you're still in the lead so far. -- Ilmari Karonen - http://www.sci.fi/~iltzu/ "Signal handlers are known to be broken in perl. Did you expect them to somehow get unbroken when ITHREADS is enabled?" -- Gurusamy Sarathy on the perl5-porters list