Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (18 sloc) 0.404 kb
use warnings;
use 5.010;
use strict;
use lib 'lib';
use Quelology::Config qw(schema);
my $schema = schema;
my $rs = $schema->resultset('Title')->root_nodes;
while (my $node = $rs->next) {
say '=' x 40;
dump_($node);
for my $n ($node->descendants) {
dump_($n);
}
}
sub dump_ {
my $n = shift;
say join ':::', $n->id, $n->asin // '', $n->level, $n->title, $n->author;
}
Jump to Line
Something went wrong with that request. Please try again.