in reply to Unique value count in hash not working properly

Please... In other words, post something which anyone can run to duplicate the problem you are having. When I fix the syntax error, create a phony input array and run your code, it seems to do something reasonable.
  • Comment on Re: Unique value count in hash not working properly

Replies are listed 'Best First'.
Re^2: Unique value count in hash not working properly
by koolgirl (Hermit) on Sep 30, 2011 at 12:59 UTC

    I am using strict and warnings. It is somewhat indented correctly, it's a subroutine, and I'm still working on it, so the extra lines will be cleaned up.. I don't see a syntax error, unless you're talking about the extra curly brace at bottom, which is just the closing of the sub, I didn't get the sub name in copy/paste.


    "The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man.." -- George Bernard Shaw

      I don't see a syntax error, unless you're talking about the [syntax errors].

      So do we have a standalone, runnable code example with sample input and actual and expected output? This is what the monks are asking (begging) for. Please, please help us to help you!