I notice Links already has functions for calcuation the number of children or parents a category has, I think I saw it in Build.pm from memory. I have used the parents function before sucessfully, but I cannot seem to get the children one to work for me.
Example:
my $ct = $DB->table('Category');
my $number_of_children = $ct->children($id);
Gives me: ARRAY(0x82a4264)
and if I try printing $ct->children($id);
I get: Links::Category=HASH(0x83278c0)->children(1)
Any ideas (probably something really basic to do with referencing the array?)
http://www.iuni.com/...tware/web/index.html
Links Plugins
Example:
my $ct = $DB->table('Category');
my $number_of_children = $ct->children($id);
Gives me: ARRAY(0x82a4264)
and if I try printing $ct->children($id);
I get: Links::Category=HASH(0x83278c0)->children(1)
Any ideas (probably something really basic to do with referencing the array?)

http://www.iuni.com/...tware/web/index.html
Links Plugins