Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Range::Integer(3)     User Contributed Perl Documentation    Range::Integer(3)

NAME
       Range::Integer -	Integer	set arithmetics.

VERSION
       This documentation describes version 0.01

SYNOPOSIS
	use Range::Integer;

	my @list = Range::Integer->expand( '3,4~9,-6~7,&6~10' );
	my $string = Range::Integer->serial( '3', '6', '7~9' );

	my $r1 = Range::Integer->new( '3', '6',	'7~9' );
	my $r2 = Range::Integer->new( '3,6~7' );
	my $r3 = Range::Integer->new( '3,4~9,-6~7,&6~10' );

	my $r4 = $r2 - $r3;
	my $r5 = $r2 + $r3;
	my @r5 = $r5->list();

	$r5 &= $r1;

	print $r5, "\n";

DESCRIPTION
   string()
       Overloads "".

SEE ALSO
       Implements Range::Integer::Object and Range::Integer::Parse.  See
       Range::Integer::Object for additional methods.

AUTHOR
       Kan Liu

COPYRIGHT and LICENSE
       Copyright (c) 2010. Kan Liu

       This program is free software; you may redistribute it and/or modify it
       under the same terms as Perl itself.

perl v5.24.1			  2010-12-04		     Range::Integer(3)

NAME | VERSION | SYNOPOSIS | DESCRIPTION | SEE ALSO | AUTHOR | COPYRIGHT and LICENSE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Range::Integer&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help