Re: Rate my JAPH

2011-12-07 Thread Randal L. Schwartz
Andrew == Andrew Savige ajsav...@yahoo.com.au writes: Andrew  print Just another Perl hacker, That's missing the trailing semicolon. I was pretty consistent on putting that there. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 mer...@stonehenge.com URL:http

Re: Rate my JAPH

2011-11-25 Thread Randal L. Schwartz
into a hash, then printed the hash elements by order. I think that's also the one that fails later, thanks to the randomization applied to hash key seeds now for security purposes. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 mer...@stonehenge.com URL:http

Re: Rate my JAPH

2011-11-24 Thread Randal L. Schwartz
If there were points for earliest JAPH, I'd get an unfair advantage. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 mer...@stonehenge.com URL:http://www.stonehenge.com/merlyn/ Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http

Re: code line of the day

2006-09-07 Thread Randal L. Schwartz
-references? What do I win? -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 merlyn@stonehenge.com URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment

Re: Secret operators

2005-02-03 Thread Randal L. Schwartz
between me and Larry, if I recall correctly, shortly before that public post, because I had come up with it for some courseware of mine. But, this *is* 10 years ago, and I could be mismembering. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 merlyn@stonehenge.com

Re: unhead

2004-09-25 Thread Randal L. Schwartz
Keith == Keith C Ivey [EMAIL PROTECTED] writes: Keith perl -pe '$_ x=!(1..5)' FWP. Not Golf. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy

Re: Semcarlbd letrtes sepur! (Scrambled letters super!)

2003-09-19 Thread Randal L. Schwartz
, but in older perl versions, that'd lose elements, double up on elements, or even coredump. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See

Re: qw(l i s t) vs (l, i, s, t)

2003-07-22 Thread Randal L. Schwartz
John == John Douglas Porter [EMAIL PROTECTED] writes: John Randal L. Schwartz [EMAIL PROTECTED] wrote: ... the last element of a list in a scalar context. John Randal said ...a list in a scalar context. /me faints. I said last element of a list in a scalar context. Don't misparse. There's

Re: When the Schwartzian Transform gets out of control...

2003-02-11 Thread Randal L. Schwartz
tagging regexps are particulary juicy. Bennett I'm undecided whether this is good. If you need only the best (or worst) of the list, a sort is probably overkill. Just do a high-water mark scan, keeping the best candidate as you compare it with each other candidate. -- Randal L. Schwartz

Re: Metaprogramming

2002-12-14 Thread Randal L. Schwartz
Bernie == Bernie Cosell [EMAIL PROTECTED] writes: Bernie In fact, unless I'm misunderstanding how the closure works, $constant Bernie is exactly correct and '42' would be incorrect... No, that's wrong. Read my other post. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1

Re: Metaprogramming

2002-12-13 Thread Randal L. Schwartz
to figure out how to construct the right sharing of lexicals amongst the various coderefs you've discovered. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing

Re: Metaprogramming

2002-12-13 Thread Randal L. Schwartz
been closed, break. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

Re: AW: regex for html img... tags

2002-03-20 Thread Randal L. Schwartz
of %hash{key}. And how angry will *we* be, when we've got to relearn that the way they wanted it to work is the way it *does* work in Perl6! :-) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security

Re: regex for html img... tags

2002-03-19 Thread Randal L. Schwartz
some other way, but I'm sure my JAPHs were a contributing factor. Having said that, I really enjoyed Abigail's presentation a few years back at YAPC. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix

Re: regex for html img... tags

2002-03-17 Thread Randal L. Schwartz
This doesn't exactly qualify as on-charter for Fun With Perl. You might try asking on the beginner's mailing list, or on the Perl newsgroups. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting

Re: regex for html img... tags

2002-03-17 Thread Randal L. Schwartz
was originally far more than Golf. I've seen only Golf recently. For that, I may pay less attention. Obfuscated Perl and Golf are both uninteresting to me. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix

Re: rethinking printf

2002-03-06 Thread Randal L. Schwartz
Rich == Rich Morin [EMAIL PROTECTED] writes: Rich This seems pretty ugly to me (Randal didn't like it much either :-) Yup. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting

Re: Study group for motivated people wanting to learn Perl.

2002-02-05 Thread Randal L. Schwartz
want $var{$1}. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

Re: substitution question

2002-02-02 Thread Randal L. Schwartz
Anthony == Anthony J Breeds-Taurima [EMAIL PROTECTED] writes: Anthony On Thu, 31 Jan 2002, Michael G Schwern wrote: Folks, I'm clawing my eyes out here. Stop hitting the regex crack pipe! Anthony the poster asked for a regex solution. Where? -- Randal L. Schwartz - Stonehenge Consulting

Re: Relationship between Perl and various animals and sitcoms

2001-11-27 Thread Randal L. Schwartz
, the sitcom of Three's Company. Big Sit, little Com. :-) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com

Re: Who is this Perl hacker?

2001-11-19 Thread Randal L. Schwartz
? -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

Re: Photos/Caricatures of Larry Wall and other Perl luminaries

2001-11-05 Thread Randal L. Schwartz
Simon == Simon Cozens [EMAIL PROTECTED] writes: Simon aalib is pretty good. Stand well back. :) I tried going into the other room. That wasn't far enough. :-) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com

Re: World's First JAPH

2001-08-22 Thread Randal L. Schwartz
characters. Abigail- It uses obscure or surprising syntax. Fine rules for JAPH version 1.0. I lay claim to JAPH version 0.0, though. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security

Re: JAPHs with no unsightly letters or numbers

2001-08-18 Thread Randal L. Schwartz
John == John W Krahn [EMAIL PROTECTED] writes: Next, O'Reilly will be soliciting for JAPHs in a Nutshell! John What animal do you want on the cover? :-) A Party Animal, of course. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http

Re: Sorting in-place

2001-07-25 Thread Randal L. Schwartz
pair to put them in order, you're actually taking them *out* of order. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See