X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FTree.pm;h=19bff08c7a4b965fb6c36670faca65af243f2b5f;hb=49044e3efefbe349ecdc66ea3840801604d7a79c;hp=34f91cc03a00fa01ee2cbf0eb134fc5240ee8000;hpb=8295812709d2b2fdc8dba6d448d5fa58011c4166;p=dbsrgits%2FDBIx-Class-Tree.git
diff --git a/lib/DBIx/Class/Tree.pm b/lib/DBIx/Class/Tree.pm
index 34f91cc..19bff08 100644
--- a/lib/DBIx/Class/Tree.pm
+++ b/lib/DBIx/Class/Tree.pm
@@ -1,25 +1,69 @@
-# vim: ts=8:sw=4:sts=4:et
package DBIx::Class::Tree;
+# vim: ts=8:sw=4:sts=4:et
use strict;
use warnings;
-use vars qw( $VERSION );
use base qw( DBIx::Class );
-$VERSION = '0.01000';
+our $VERSION = '0.03003';
1;
__END__
=head1 NAME
-DBIx::Class::Tree - Manipulate and anaylze tree structured data. (EXPERIMENTAL)
+DBIx::Class::Tree - Manipulate and anaylze tree structured data.
+
+=head1 GETTING HELP/SUPPORT
+
+The community can be found via:
+
+=over
+
+=item * IRC: irc.perl.org#dbix-class
+
+=for html
+(click for instant chatroom login)
+
+=item * Mailing list: L
+
+=item * RT Bug Tracker: L
-=head1 SYNOPSIS
+=item * gitweb: L
+
+=item * git: L
+
+=back
=head1 DESCRIPTION
+The tree modules provide the tools to represent, modify, and analyze
+trees of data with DBIx::Class.
+
+=head1 COMPONENTS
+
+L - Manage a tree of data using the
+common adjacency list model.
+
+L - Glue DBIx::Class::Ordered
+and DBIx::Class::Tree::AdjacencyList together.
+
+=head1 DAG
+
+All tree related modules must conform to have and use the basic traversal
+methods of a DAG. For the most part this just means that Tree modules
+must provide the appearance of having multiple parents per node (via a
+parents() method) but may very well never return more than one parent.
+All utility modules, such as a Visitor module, should do its best to
+never assume that a node only has one parent. There are situations
+where this is not possible - in those cases the module's documentation
+should clearly state that it is not compatible with DAGs.
+
+So far there is no Tree::DAG module, but there will be. These requirements
+are vague, and the requirements of Tree modules to be DAG compatible will
+become more defined in due course.
+
=head1 AUTHOR
Aran Clary Deltac