http://www.perlmonks.org?node_id=815830


in reply to Perl code for a Histogram

We're a lot more inclined to help with efficiency questions when the poster includes the code already written to tackle a problem. See On asking for help and, perhaps, How do I post a question effectively?.

It's a lot more timely to worry about efficiency after you have some working code.

Replies are listed 'Best First'.
Re^2: Perl code for a Histogram
by RyuMaou (Deacon) on Jan 06, 2010 at 15:32 UTC
    I've seen a couple of these in the past week or so, where the poster has no code to start off with, as if no attempt has been made to answer the question for themselves yet. It sort of feels like we're being asked to complete homework assignments!
      Sorry guys... I am new to the forum, will post my code alongwith any questions i have in the future...To clarify, I just wanted an idea to start off my code with, not any ready-made code to copy-paste into any hypothetical homework..

        And, that newness was one of the things that made it seem suspicious. Also, sometimes, we can be hard on folks, so let me offer my apologies if I came off as harsh.
        I know it sounds a little snarky, but it's worth checking out the resources in the post above my last. It'll keep wiseguys like me from jumping on you.

        Keep coming back and keep posting code.