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.