:
if %some_nested_hash{very_long_descriptive_key}{another_key}...{last_key} {
# do stuff
}
Ugh, ugh, ugh, that's even worse.
Am I the only person who gets more scared of Perl 6 the more he hears about
it?
Still waiting for the regexp apocalypse with a mixture of hope and fear...
--
Stephen Turner
On Thu, 4 Apr 2002, Keith C. Ivey wrote:
Stephen Turner [EMAIL PROTECTED] wrote:
On Thu, 4 Apr 2002, Dave Hoover wrote:
With
both ORA and ActiveState contributing prizes (bumper stickers,
t- shirts, and *books*)
My wife says: What's Bob going to do with so many books
a list) it would be better if it
were an official @perl.org list.
I wonder if it's possible to import any discussion to date into the archives
of a perl.org list, and transfer the list of subscribers etc.?
--
Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen
a hole: in Perl golf, it's everything.)
--
Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen/
This is Henman's 8th Wimbledon, and he's only lost 7 matches. BBC, 2/Jul/01
On Mon, 18 Mar 2002 [EMAIL PROTECTED] wrote:
Allocating prize money for each of the 5 Perl Golf tournaments
at $4 million per tournament, according to the formula used by
the US PGA, produces the following tables.
Any mistakes below please let me know.
12. Stephen Turner
of that. But I wouldn't like it. By time Y, I'm always
desparate to find out how Eugene can possibly have got down to only 23
strokes, or whatever. I wouldn't want to wait an extra week.
(Of course, if Y - X is only a few hours, that's different).
--
Stephen Turner, Cambridge, UKhttp
that there was a very high number of players this time, so maybe I'm
worrying unnecessarily. But what do other people think?
--
Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen/
This is Henman's 8th Wimbledon, and he's only lost 7 matches. BBC, 2/Jul/01
I vote FOR proposal 179:A.
--
Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen/
This is Henman's 8th Wimbledon, and he's only lost 7 matches. BBC, 2/Jul/01
On Thu, 14 Mar 2002, Stephen Turner wrote:
I vote FOR proposal 179:A.
Whoops, sorry. I meant to send that to frc not fwp.
Reply-To useful, mumble.
--
Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen/
This is Henman's 8th Wimbledon, and he's only lost 7 matches
, but that's much less
likely.
There is a genuine downside of plain text passwords, that someone will try
and use a sensitive password for Perl golf; they would have to be warned
about that.
--
Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen/
This is Henman's 8th Wimbledon
.
This is essentially what my solution at
http:[EMAIL PROTECTED]/msg01662.html
did.
--
Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen/
This is Henman's 8th Wimbledon, and he's only lost 7 matches. BBC, 2/Jul/01
On Sun, 10 Mar 2002 [EMAIL PROTECTED] wrote:
3) Be pragmatic. Don't get too carried away with fanciful solutions.
Perhaps, Eugene and Stephen Turner fell into this trap in the
secret number game, where they both pursued deliciously complex
variations involving the (${}) construct
On Mon, 11 Mar 2002 [EMAIL PROTECTED] wrote:
For some reason, I have this image of Stephen Turner leaping up from
his keyboard and prancing around the court like Tim Henman replete
with lots of those little trademark Henman-esque fist clenches.
Frighteningly, this isn't completely false
practice. http://www.cums.org.uk/
--
Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen/
This is Henman's 8th Wimbledon, and he's only lost 7 matches. BBC, 2/Jul/01
a recursive regexp?
Well, I think the canonical example is the problem of matching nested
parentheses. If you have the Camel book, the code and the explanation are
on pages 213-214. And yes, I have actually used this in real life.
I'd be interested to know of other real examples too.
--
Stephen
On Fri, 8 Mar 2002, Stephen Turner wrote:
$x*1.11%10(~Jukka-50, Rick-51, Ton-52)
I've just discovered that this construction doesn't work inside an eval! The
reason is that 08 and 09 become invalid octal numbers in that context.
If anyone was wondering why I was doing
On Mon, 11 Mar 2002, Stephen Turner wrote:
If anyone was wondering why I was doing such an odd thing, I was trying to
see how much I could shorten this sort of idea:
print$_=pop,$/;s/./$9)+$).($-9*($+/g;/\(.*\)/exec$
Sorry, that got munged by my mailer. It should read
print$_=pop,$/;s
different method.
--
Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen/
This is Henman's 8th Wimbledon, and he's only lost 7 matches. BBC, 2/Jul/01
Thanks for all the replies about the history of Perl golf. One more
question: when is the earliest example of a proper organised competition,
rather than just a challenge on a mailing list or whatever? Are there any
before the recent five?
--
Stephen Turner, Cambridge, UKhttp
variables it can see.
--
Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen/
This is Henman's 8th Wimbledon, and he's only lost 7 matches. BBC, 2/Jul/01
On Fri, 8 Mar 2002, Stephen Turner wrote:
Methods for looping:
`$^X $0` (Stephen-54)
By the way, to return to the conversation I was having with Andrew during
the competition, I think this choice of looping method was probably the
reason why I got away with using only 14
? :-)
--
Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen/
This is Henman's 8th Wimbledon, and he's only lost 7 matches. BBC, 2/Jul/01
effect either:
% perl -le'print abcdefgh=~/\B./g'
bdfh
--
Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen/
This is Henman's 8th Wimbledon, and he's only lost 7 matches. BBC, 2/Jul/01
/// (MTV-49, Jukka-50, Rick-51, Chris-53b, Lyon-54
`$^X $0` (Stephen-54)
--
Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen/
This is Henman's 8th Wimbledon, and he's only lost 7 matches. BBC, 2/Jul/01
last night, but now Ton's shot an eagle and a couple
of birdies to leave me 6 off the pace. I might be worth a punt at 50-1 if
you fancy backing an outsider, but don't accept any shorter odds. :-)
--
Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen/
This is Henman's 8th
On Mon, 4 Mar 2002, Keith C Ivey wrote:
I don't seem to be
getting the epiphany yet, so I guess I've got a few days of
obsession to go
Funny, I thought I'd had several epiphanies, and yet I'm still a stroke
behind you
--
Stephen Turner, Cambridge, UKhttp://homepagentlworldcom
On Mon, 4 Mar 2002, Keith C. Ivey wrote:
Stephen Turner [EMAIL PROTECTED] wrote:
Funny, I thought I'd had several epiphanies, and yet I'm still a
stroke behind you...
I apologize for my unseemly whining. I've been punished for it
by being dropped from 7th to 11th place overnight
Well, I see BoB's got 52 I'm still stuck on 60 Still, even if I am
8 behind BoB, at least I'm only 4 behind Eugene :-)
--
Stephen Turner, Cambridge, UKhttp://homepagentlworldcom/adelie/stephen/
This is Henman's 8th Wimbledon, and he's only lost 7 matches BBC, 2/Jul/01
call a 'bunker'? Is 'bunker' also used?
--
Stephen Turner, Cambridge, UKhttp://homepagentlworldcom/adelie/stephen/
This is Henman's 8th Wimbledon, and he's only lost 7 matches BBC, 2/Jul/01
with it I note that it's currently only 4:14am in Illinois
--
Stephen Turner, Cambridge, UKhttp://homepagentlworldcom/adelie/stephen/
This is Henman's 8th Wimbledon, and he's only lost 7 matches BBC, 2/Jul/01
using
earliest entry as a tie breaker, I'm worried that it might be unfair on
people who aren't subscribed to fwp
--
Stephen Turner, Cambridge, UKhttp://homepagentlworldcom/adelie/stephen/
This is Henman's 8th Wimbledon, and he's only lost 7 matches BBC, 2/Jul/01
On Fri, 1 Mar 2002, Jerome Quelin wrote:
On Vendredi 1 Mars 2002 11:32, Stephen Turner wrote :
I'm keen to get on with it, but on the other hand if you're still using
earliest entry as a tie breaker, I'm worried that it might be unfair on
people who aren't subscribed to fwp
No, tie
On Fri, 1 Mar 2002, Philip Kendall wrote:
Do we have to deal with the case of the input having leading zeros?
Hmmm I'm now trying to think of an approach that would not handle leading
zeros automatically!
--
Stephen Turner, Cambridge, UKhttp://homepagentlworldcom/adelie/stephen
/TR/html401/interact/formshtml#h-17134
you mean :-)
--
Stephen Turner, Cambridge, UKhttp://homepagentlworldcom/adelie/stephen/
This is Henman's 8th Wimbledon, and he's only lost 7 matches BBC, 2/Jul/01
a better solution, but I learnt
a new trick with this $\
--
Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen/
This is Henman's 8th Wimbledon, and he's only lost 7 matches. BBC, 2/Jul/01
than 46. But maybe there
isn't one.
--
Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen/
This is Henman's 8th Wimbledon, and he's only lost 7 matches. BBC, 2/Jul/01
there must be more to it than that.
--
Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen/
This is Henman's 8th Wimbledon, and he's only lost 7 matches. BBC, 2/Jul/01
On Sat, 16 Feb 2002 [EMAIL PROTECTED] wrote:
after auto-conversion, I manually
touched it up by tracing Eugene's head onto a piece of plastic
and sticky-taping it to the screen!
This has got to be the funniest-with-Perl story I have ever heard.
--
Stephen Turner, Cambridge, UKhttp
On Sun, 17 Feb 2002 [EMAIL PROTECTED] wrote:
Oh deary me, Stephen, you beat Spiff by two hours but forgot
that map{$expr}list could be shortened to map$expr,list.
And, in the last game, you forgot that for could go at the end.
I know, I know. I need more practice.
--
Stephen Turner
On Sat, 16 Feb 2002, Jerome Quelin wrote:
Then you'll be able to practice soon: next tournament for tpr1 begins march
the 1st [...]
This may be too soon, but we are to stick with tpr issues. We hope that
you'll submit anyway.
The sooner the better!
--
Stephen Turner, Cambridge, UK
^^^
no, -T too
-T can appear on the #! lang, I believe.
Although I've never made it work under Windows. Does anyone know anything
about this?
Next puzzle: come up with a golf problem for which -T is a plausible
approach. :-)
--
Stephen Turner
using
POSIX?
--
Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen/
This is Henman's 8th Wimbledon, and he's only lost 7 matches. BBC, 2/Jul/01
);
--
Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen/
This is Henman's 8th Wimbledon, and he's only lost 7 matches. BBC, 2/Jul/01
are the rules:
- Number is to be taken as first arg of the script.
first and only arg?
--
Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen/
This is Henman's 8th Wimbledon, and he's only lost 7 matches. BBC, 2/Jul/01
as input and
producing a file to stdout, is that it provides a uniform method for testing
them. But maybe it's too restrictive for the problem setters?
--
Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen/
This is Henman's 8th Wimbledon, and he's only lost 7 matches. BBC
, my first
attempt is 52.
--
Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen/
This is Henman's 8th Wimbledon, and he's only lost 7 matches. BBC, 2/Jul/01
dictionary (the best single-volume British dictionary) says it
does.
--
Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen/
This is Henman's 8th Wimbledon, and he's only lost 7 matches. BBC, 2/Jul/01
On Wed, 6 Feb 2002, Stephen Turner wrote:
Chambers dictionary (the best single-volume British dictionary) says it
does.
I just checked in the full Oxford English Dictionary too. Excerpts:
1. = CABBALA 1: The Jewish tradition as to the
interpretation of the Old Testament. Obs.
1616
About this golf marking module -- shouldn't we be trying to find the
shortest such module?
--
Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen/
This is Henman's 8th Wimbledon, and he's only lost 7 matches. BBC, 2/Jul/01
aloud what would you say? The multiplicative
indentity plus the additive identity???
Sure, if you had to read it aloud. The question was not what to say but what
to write though.
--
Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen/
This is Henman's 8th Wimbledon
myself to be a beginner. I agree that the term is not well defined, but also
that it's hard to make it better without setting up onerous formal rules.
Anyway, I think as I only missed out on the beginner's prize by one stroke,
I'm going to promote myself to the main division next time.
--
Stephen
liked my earlier (66) effort better. Not very short, but I
thought it was cute. It kept explicitly counting the newline at the end of
the line in order to make all the counts odd; then multiply them together
and they stay odd.
--
Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie
$a is above.
--
Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen/
This is Henman's 8th Wimbledon, and he's only lost 7 matches. BBC, 2/Jul/01
This is another question about the golf, isn't it? We've been asked not to
post our solutions to the list, but what is the etiquette about asking for
help on golf-related topics while the competition is still running? I'm new
to this list, so someone give me some guidance... Thanks.
--
Stephen
54 matches
Mail list logo