GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Range::Integer(3) User Contributed Perl Documentation Range::Integer(3)
 

Range::Integer - Integer set arithmetics.

This documentation describes version 0.01

 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";

Overloads "".

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

Kan Liu

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.
2010-12-04 perl v5.28.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.