Sign In/My Account | View Cart  
advertisement
-->




Sets

Bit::Vector
This module implements bit vectors of arbitrary size and provides efficient mthods for handling them. This goes far beyond the built-in capabilities of Perl for handling bit vectors.

Set::Bag
Set::Bag implements a simple bag (multiset) class. A bag may contain one or more instances of elements. One may add and delete one or more instances at a time.

Set::IntRange
This class lets you dynamically create sets of arbitrary intervals of integers and perform all the basic operations for sets on them.

Set::IntSpan
Set::IntSpan manages sets of integers. It is optimized for sets that have long runs of consecutive integers. These arise, for example, in .newsrc files, which maintain lists of articles:

alt.foo: 1-21,28,31
alt.bar: 1-14192,14194,14196-14221

Set::NestedGroups
Set::NestedGroups gives an implementation of nested groups, access control lists (ACLs) would be one example of nested groups. For example, if Joe is a Manager, and Managers have access to payroll, you can create an ACL which implements these rules, then ask the ACL if Joe has access to payroll. Another example, you may wish to track which city, state and country people are in, by adding people to cities, cities to states, and states to countries.

Set::Object
This modules implements a set of objects, that is, an unordered collection of objects without duplication.

Set::Scalar
Basic set operations for Perl scalars/references.

Sponsored By: