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

Re: Santa Hole 5 (wc.pl) Post Mortem

Thread Previous | Thread Next
From:
Rick Delaney
Date:
December 7, 2001 19:59
Subject:
Re: Santa Hole 5 (wc.pl) Post Mortem
Message ID:
m3r8q673y0.fsf@cs839290-a.mtth.phub.net.cable.rogers.com
"Keith C. Ivey" <kcivey@cpcug.org> writes:

> I'm surprised no one submitted anything with 0 x10, but I
> guess those always end up too long.

I tried a bit but the best I came up with was

#!/usr/bin/perl -pl
($c|=0 x10)++}{$_=$c

for 24 (instead of 21).

-- 
Rick Delaney
rick.delaney@rogers.com

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About