Math::String::Charset::Nested

Math::String::Charset::Nested is a charset for Math::String objects.
Download

Math::String::Charset::Nested Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Tels
  • Publisher web site:
  • http://search.cpan.org/~tels/

Math::String::Charset::Nested Tags


Math::String::Charset::Nested Description

Math::String::Charset::Nested is a charset for Math::String objects. Math::String::Charset::Nested is a charset for Math::String objects.SYNOPSIS use Math::String::Charset; # construct a charset from bigram table, and an initial set (containing # valid start-characters) # Note: After an 'a', either an 'b', 'c' or 'a' can follow, in this order # After an 'd' only an 'a' can follow $bi = new Math::String::Charset ( { start => 'a'..'d', bi => { 'a' => , 'b' => , 'c' => , 'd' => , 'q' => , # 'q' will be automatically in end } end => , } ); print $bi->length(); # 'a','b' => 2 (cross of end and start) print scalar $bi->class(2); # count of combinations with 2 letters # will be 3+2+2+1 => 8Requirements:· Perl Requirements: · Perl


Math::String::Charset::Nested Related Software