Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: Throw compilation error(or warning) if duplicate keys are present in hash

by I_love_perl (Novice)
on Nov 24, 2011 at 09:18 UTC ( [id://939825]=note: print w/replies, xml ) Need Help??


in reply to Re: Throw compilation error(or warning) if duplicate keys are present in hash
in thread Throw compilation error(or warning) if duplicate keys are present in hash

Hi Ikegami, Thanks for your quick response.

I've tried using Perl::Critic (http://perlcritic.com/), but it is not throwing up any warning with respect to the re-occurrence of the hash key. Correct me if I'm doing something wrong in using Perl::Critic

  • Comment on Re^2: Throw compilation error(or warning) if duplicate keys are present in hash

Replies are listed 'Best First'.
Re^3: Throw compilation error(or warning) if duplicate keys are present in hash
by ikegami (Patriarch) on Nov 25, 2011 at 03:54 UTC

    I didn't say a rule already existed to check this. Quite the opposite, I assumed there wasn't one and told you you'd have to actually write the rule.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://939825]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2024-04-19 14:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found