Just another Perl shrine | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Hi TJPride, Thanks for your response It is a manually generated .pm file by the people who are not very much familiar with perl syntax. Hence I suspect that there might be a good chance of mistyping an existing key. In this case we are not looking for eliminating the duplicated hash keys, rather we are looking for updating .pm file properly with a new key for the duplicated one's. So we need to know if some key is duplicated As I know writing a small validating perl script will do this , but I was thinking if there is any approach available in perl by default or addon. In reply to Re^2: Throw compilation error(or warning) if duplicate keys are present in hash
by I_love_perl
|
|