![]() |
|
Don't ask to ask, just ask | |
PerlMonks |
Re: Re: Finding missing elements in a sequence (code)by clemburg (Curate) |
on Nov 06, 2001 at 21:32 UTC ( #123629=note: print w/replies, xml ) | Need Help?? |
Ah, I see. Well, you need to make things equal before comparing them ... you are putting numbers 1..n as keys into %isthere, but try to get out $isthere{"00001"}. That will not work - the keys in %isthere are "1" etc. This is what you need to make it work:
Christian Lemburg
In Section
Seekers of Perl Wisdom
|
|