It sounds like $partnum is not the same, perhaps the case is different? It would help if we had a sample to look at as the code you've given doesn't seem to have any errors.
Yes the possible presence of a CR/LF is why ppl are suggesting chomp()
In reply to Re: Re: Re: Odd Hash behavior
by tedrek
in thread Odd Hash behavior
by SpritusMaximus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |