Hi Ronald
Yes. Absolutely we can write a piece of code to check for the existence of duplicate keys in a hash or array. But I felt like it should be present in some perl program check utilities (like use strict, use warnings).
As I don't know if this facility is available in perl I posted this query to know if there some package(or pragma) available for this kind of checks.
In reply to Re^4: Throw compilation error(or warning) if duplicate keys are present in hash
by I_love_perl
in thread Throw compilation error(or warning) if duplicate keys are present in hash
by I_love_perl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |