Re: A curious logic

2005-03-08 Thread Keith Ivey
Perl Diety wrote: ...are easy and IMO, not interesting... juxtapositioned with , but I never found one... Vern or Vernette, doesn't this imply that either: (a) You didn't look very hard, since being easy, they should also be easy to find or (b) They are not so easy? How about

Re: fun with hashes!

2007-11-24 Thread Keith Ivey
How about using a hash to keep track of which things you've already handled? my %seen; for my $value (@values) { next if $seen{$value}++; # Do processing with $value here. } -- Keith C. Ivey [EMAIL PROTECTED] Washington, DC

Re: fun with hashes!

2007-11-25 Thread Keith Ivey
Jerrad Pierce wrote: How about using a hash to keep track of which things you've already handled? That's just the afore-mentioned count True, I guess, but lots of these uses are the same. In Uri's original post, isa could be considered the same as sets, and records the same as data

Re: new !-based secret operators

2007-11-30 Thread Keith Ivey
Uri Guttman wrote: you, sir, have altogether too much free time!! would you like to stop wasting your life and help improve some cpan modules of mine? :) Uri, what list do you think this is? The phrase wasting your life is not allowed here, unless you can work it into a JAPH or something.

Re: regex of the month (decade?)

2008-01-08 Thread Keith Ivey
Stoll, Steven R. wrote: (p(ost)?[.\s]*o(ffice)?[.\s]*box) po(b|x|drawer|stoffice|[ ]bx|box) p[\/]o b(x|ox|uzon) a(partado|ptdo) Which matches: (p(ost)?.*o(ffice)?.*box) post(anynumberofanythingexceptnewline)office(anynumberofanythingexceptnewlin e)box '[.\s]*' matches any number of periods

Re: regex of the month (decade?)

2008-01-12 Thread Keith Ivey
Chris Dolan wrote: Haven't I read that you live in Paris? I figured that anyone who lives in a country whose dominant language was not fully expressible in ASCII would love Unicode. Not fully expressible seems mild to apply to writing French in ASCII (which after all has no diacritics).

Re: Umlaut

2008-01-14 Thread Keith Ivey
sebb wrote: The rule seems to be: second vowel of a pair=dieresis, otherwise umlaut. I'd call the symbol in Brontë a dieresis, not an umlaut. Maybe: when the symbol indicates the vowel is to be pronounced further forward in the mouth, it's an umlaut; when it indicates the vowel is to be