Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Perl code for a Histogram

by ww (Archbishop)
on Jan 05, 2010 at 21:17 UTC ( #815830=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://815830]
help
Chatterbox?
[Corion]: jthebarg: There is the switch keyword if you want that, but maybe a dispatch table is closer.
[Corion]: If by "case" you meant "case-insensitive ", see fc, uc and lc and perlop on the /i flag ;)
Corion waves to virtualsue
[virtualsue]: I have made a post for the first time in ... years
[marto]: hey virtualsue!
Eily thought about Neko Case first, something might be wrong with my brain's wiring
[virtualsue]: I recommended dbic-migration even though I am having trouble with it this week. It might be my fault.
[ambrus]: wow! I haven't seen you here for a long time, virtualsue
virtualsue waves back
[Eily]: it would have been 2 years in 2 weeks actually. And welcome back virtualsue :)

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (14)
As of 2017-09-26 13:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (295 votes). Check out past polls.

    Notices?