Query: chart::clicker::data::range
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Chart::Clicker::Data::Range(3pm) User Contributed Perl Documentation Chart::Clicker::Data::Range(3pm)NAMEChart::Clicker::Data::Range - A range of DataVERSIONversion 2.83SYNOPSISuse Chart::Clicker::Data::Range; my $range = Chart::Clicker::Data::Range->new({ lower => 1, upper => 10 });DESCRIPTIONChart::Clicker::Data::Range implements a range of values.ATTRIBUTESlower Set/Get the lower bound for this Range max Set/Get the maximum value allowed for this Range. This value should only be set if you want to EXPLICITLY set the upper value. min Set/Get the minimum value allowed for this Range. This value should only be set if you want to EXPLICITLY set the lower value. upper Set/Get the upper bound for this RangeMETHODSadd Adds the specified range to this one. The lower is reduced to that of the provided one if it is lower, and the upper is ADDED to this range's upper. combine Combine this range with the specified so that this range encompasses the values specified. For example, adding a range with an upper-lower of 1-10 with one of 5-20 will result in a combined range of 1-20. contains ($value) Returns true if supplied value falls within this range (inclusive). Otherwise returns false. divvy my $values = $range->divvy(5); Returns an arrayref of $N - 1 values equally spaced in the range so that it may be divided into $N pieces. span Returns the span of this range, or UPPER - LOWER.AUTHORCory G Watson <gphat@cpan.org>COPYRIGHT AND LICENSEThis software is copyright (c) 2012 by Cold Hard Code, LLC. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.14.2 2012-06-22 Chart::Clicker::Data::Range(3pm)
Similar Topics in the Unix Linux Community |
---|
Divvy a hard disk |
List-to-Range of Numbers |
Define Positional Parameter Range Awk |
Range of data from a log file . |
Data validation engine |