|
|
| Perl-Sensitive Sunglasses | |
| PerlMonks |
Re: Re: Finding missing elements in a sequence (code)by clemburg (Curate) |
| on Nov 06, 2001 at 16:32 UTC ( [id://123629]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
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
|
|
||||||||||||||||||||||||||||||||