develooper Front page | perl.fwp | Postings from December 2001

Re: Sorted Code

Thread Previous | Thread Next
Jeff 'japhy' Pinyan
December 14, 2001 12:18
Re: Sorted Code
Message ID:
On Dec 14, Ilmari Karonen said:

>On Thu, 13 Dec 2001, Jeff 'japhy' Pinyan wrote:
>> On Dec 14, 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 #.

Jeff "japhy" Pinyan
RPI Acacia brother #734
** Look for "Regular Expressions in Perl" published by Manning, in 2002 **
<stu> what does y/// stand for?  <tenderpuss> why, yansliterate of course.

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About