Agreed. I don't think anyone would feel very good about winning a
competition in which the best players were disqualified for doing too well.
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 11, 2002 9:58 PM
> To: [EMAIL PROTECTED]; [EMAIL
yet another 22:
#!perl -p
$_ x="
$_"=~reverse
> -Original Message-
> From: Usenet News [mailto:[EMAIL PROTECTED]]On Behalf Of Ton Hospel
> Sent: Sunday, April 14, 2002 8:49 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Blast from the past: "Triple Challenge Tight Coding"
>
>
> In article
> <
>
> You can make it work like this:
> -p $_ x=/(.)((??{++($0=$+)})){3}/
>
Any ideas on what accounts for the need to use $0 instead of any other var?
That first regex led me to an interesting "Abigailism" for Fibonacci
numbers:
http://www.perlmonks.com/index.pl?node_id=98691
perl -le '(1 x $_++) =~ /^(1(??{1x$-[1]}))*$/ && print while 1'
perl -le 'print "Fibonacci" if (1x(-1+pop)) =~ /^(1(??{1x$-
When I loaded that page, I subconsciously misread the page heading as:
"The Monthly Curse"
Hmmmm.
-Gary
> -Original Message-
> From: Eugene van der Pijll [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 30, 2002 7:08 PM
> To: [EMAIL PROTECTED]
>
>
> H. Is that Gary really MeowChow in disguise?
>
> /-\ndrew
>
>
Is Clark Kent really Superman? ;)
-Gary
Looks like PGAS is caught in its own sandtrap:
##
Content-type: text/html
Software error:
HTML::Template->param() : You gave me an odd number of parameters to
param()! at /home/groups/p/pe/perlgolf/cgi-bin/PGAS/leader.cgi line 210
For help, please send ma
t break 41. Grrrr.
-Gary
of $+[1] ?
> Is this a not documented perlvar @+ ?
>
47, actually. This was not my 41 char solution, which is really too dull
to merit posting.
-Gary
Not the shortest, though perhaps the most ironic:
eval 'use less "memory"' while 1;
You may also want to check out
http://www.perlmonks.com/index.pl?node_id=156461, for a similarly
deranged golf contest.
> -Original Message-
> From: F.Xavier Noria [mailto:[EMAIL PROTECTED]]
> Sent: W
The problem? Towers of Hanoi. The solution? So preposterously short that
at first I thought it a troll.
http://www.perlmonks.com/index.pl?node_id=176643
Who was that masked alien?
Ton Hospel wrote:
> >
> > Who was that masked alien?
>
> Ah, that was a combined effort by Jukka Suomela and me.
> It's a bit unfair really since you have to know where to
> move the first disk, which depends on even/odd.
> I still thought the end result was interesting enough to post.
> (and I
The following snippet may yield some interesting, though often misleading
insight.
# WARNING! This program generates random code
# DO NOT to run this on a privileged account
#
$|++;
close STDERR;
close STDIN;
my @Chars = ( ' ', a..z, A..Z, split '',
'[EMAIL PROTECTED]&*()-_=+\\|[{]};:\'",<.>/?');
13 matches
Mail list logo