[Chicago-talk] Building a hierarchy

Jay Strauss me at heyjay.com
Wed Mar 16 10:06:39 PDT 2011


Thanks

On Wed, Mar 16, 2011 at 11:53 AM, Mike Fragassi <frag at ripco.com> wrote:

>
> Give Tree::DAG_Node a look.
>
>  use Tree::DAG_Node;
>  my $root = Tree::DAG_Node->new();
>  $root->name("I'm the tops");
>  my $new_daughter = $root->new_daughter;
>  $new_daughter->name("More");
>
> It includes accessor methods 'mother' and 'daughters', etc.
>
> _______________________________________________
> Chicago-talk mailing list
> Chicago-talk at pm.org
> http://mail.pm.org/mailman/listinfo/chicago-talk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/chicago-talk/attachments/20110316/df12ce86/attachment.html>


More information about the Chicago-talk mailing list