Personal tools
Skip to content. | Skip to navigation
The TableMatrix command creates a 2-dimensional grid of cells. The table can use a Tcl array variable or Tcl command for data storage and retrieval.
This class encapsulates/makes/manipulates objects that represent nodes in a tree structure. The tree structure is not an object itself, but is emergent from the linkages you create between nodes. This class provides the methods for making linkages that can be used to build up a tree, while preventing you from ever making any kinds of linkages which are not allowed in a tree (such as having a node be its own mother or ancestor, or having a node have two mothers).
This module provides bare bones try/catch statements that are designed to minimize common mistakes with eval blocks, and NOTHING else. This is unlike TryCatch, which provides a nice syntax and avoids adding another call stack layer, and supports calling return from the try block to return from the parent subroutine. These extra features come at a cost of a few dependencies, namely Devel::Declare and Scope::Upper that are occasionally problematic, and the additional catch filtering uses Moose type constraints, which may not be desirable either.
Type::Tiny is a tiny class for creating Moose-like type constraint objects which are compatible with Moo, Moose and Mouse.
This module is optionally used by the Type::Tiny manpage 0.045_03 and above to provide faster, C-based implementations of some type constraints. (This package has only core dependencies, and does not depend on Type::Tiny, so other data validation frameworks might also consider using it!) Only the following two functions should be considered part of the supported API: * 'Type::Tiny::XS::get_coderef_for($type)' Given a supported type constraint name, such as '"Int"', returns a coderef that can be used to validate a parameter against this constraint. Returns undef if this module cannot provide a suitable coderef. * 'Type::Tiny::XS::get_subname_for($type)' Like 'get_coderef_for' but returns the name of such a sub as a string. Returns undef if this module cannot provide a suitable sub name. * 'Type::Tiny::XS::is_known($coderef)' Returns true if the coderef was provided by Type::Tiny::XS. In addition to the above functions, the subs returned by 'get_coderef_for' and 'get_subname_for' are considered part of the "supported API", but only for the lifetime of the Perl process that returned them. To clarify, if you call 'get_subname_for("ArrayRef[Int]")' in a script, this will return the name of a sub. That sub (which can be used to validate arrayrefs of integers) is now considered part of the supported API of Type::Tiny::XS until the script finishes running. Next time the script runs, there is no guarantee that the sub will continue to exist, or continue to do the same thing.
The UNIVERSAL class provides a few default methods so that all objects can use them. Object orientation allows programmers to override these methods in subclasses to provide more specific and appropriate behavior. Some authors call methods in the UNIVERSAL class on potential invocants as functions, bypassing any possible overriding. This is wrong and you should not do it. Unfortunately, not everyone heeds this warning and their bad code can break your good code.
Whenever you use "isa" in UNIVERSAL as a function, a kitten using Test::MockObject dies. Normally, the kittens would be helpless, but if they use UNIVERSAL::isa (the module whose docs you are reading), the kittens can live long and prosper. This module replaces UNIVERSAL::isa with a version that makes sure that if it's called as a function on objects which override isa, isa will be called on those objects as a method. In all other cases the real UNIVERSAL::isa is just called directly.
This module implements the URI class. Objects of this class represent "Uniform Resource Identifier references" as specified in RFC 2396 (and updated by RFC 2732).
This module provides a method to encode strings (mainly URLs) into a format which can be pasted into a plain text emails, and that those links are 'click-able' by the person reading that email. This can be accomplished by NOT encoding the reserved characters.