[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: couple of warning fixes
From: |
Akim Demaille |
Subject: |
Re: couple of warning fixes |
Date: |
22 May 2001 12:15:09 +0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) |
| Akim> Actually, I'm frightened: how come Perl does not complain about
| Akim> $languages{''}? It is not supposed to exist. Does it?
|
| I beleive it's undefined too but that it was not used in places
| where a defined value is needed. Who knows? After all, that's Perl.
Hm, so you are saying $my_hash{undef} triggers a warning, but not
$my_hash{some_undefined_key}, right? It makes sense. Hm, worse yet,
AFAIR, the latter *defines* the corresponding entry in the hash, but
maps it to undef. Bleah.
| Maybe it could be cleaner to register an `unknown' language?
I fail to see what use we could make of it?