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
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
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
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.
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
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).
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