Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Re: Simple Text Histogram

by Anonymous Monk
on May 12, 2002 at 01:41 UTC ( [id://165974]=note: print w/replies, xml ) Need Help??


in reply to Re: Simple Text Histogram
in thread Simple Text Histogram

It expects an array reference so try show_histogram(\@foo);

Replies are listed 'Best First'.
Re: Re: Re: Simple Text Histogram
by Anonymous Monk on Jan 22, 2004 at 18:54 UTC
    Yup, calling it with ( \@array_name, size_of_bin, width ) works, but the output stuff could do with tons of improvement. Documentation leaves something to be desired. But, it does work:)
      It is useful, but it only gives meaningful output with integers. So, if you're interested in x places of decimals, you could use a regex to move the decimal point so many places. That way, I checked, it does give meaningful output.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2024-04-19 15:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found