Set::Scalar

Set::Scalar Perl module contains a basic set of operations.
Download

Set::Scalar Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Jarkko Hietaniemi
  • Publisher web site:
  • http://search.cpan.org/~jhi/

Set::Scalar Tags


Set::Scalar Description

Set::Scalar Perl module contains a basic set of operations. Set::Scalar Perl module contains a basic set of operations.SYNOPSIS use Set::Scalar; $s = Set::Scalar->new; $s->insert('a', 'b'); $s->delete('b'); $t = Set::Scalar->new('x', 'y', $z);Creating $s = Set::Scalar->new; $s = Set::Scalar->new(@members); $t = $s->clone; $t = $s->copy; # clone of cloneModifying $s->insert(@members); $s->delete(@members); $s->invert(@members); # insert if hasn't, delete if has $s->clear; # removes all the elementsNote that clear() only releases the memory used by the set to be reused by Perl; it will not reduce the overall memory use. Requirements: · Perl


Set::Scalar Related Software