Text::Same::Range
A class representing a range of integers
my $range = new Text::Same::Range($start, $end);
See below. Methods private to this module are prefixed by an underscore.
Title : new Usage : $range = new Text::Same::Range($start, $end) Function: Creates a new Range object with the given start and end Returns : A Text::Same::Range object
Title : start Usage : $start = $range->start Function: Returns the start position that was passed to new()
Title : end Usage : $end = $range->end Function: Returns the end position that was passed to new()
Title : as_string Usage : my $str = $range->as_string Function: return a string representation of this Range Args : none
Kim Rutherford <kmr+same@xenu.org.uk>
Copyright 2005,2006 Kim Rutherford. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
This module is provided "as is" without warranty of any kind. It may redistributed under the same conditions as Perl itself.
To install Text::Same, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Text::Same
CPAN shell
perl -MCPAN -e shell install Text::Same
For more information on module installation, please visit the detailed CPAN module installation guide.