ose 'export all'
2: Choose 'JSON format' in the pop-up
3: The file tiddlers.json will appear in your downloads directory (eg ~/Downloads/ under Debian)
4: Move tiddlers.json into the distro's data/ as
s/create.tables.pl
3: scripts/populate.sqlite.tables.pl
This reads data/cpan.metacurator.tiddlers.json and outputs data/cpan.metacurator.sqlite
4: scripts/export.as.tree.pl
This reads data/cpan.metacu
required => 0,
);
has tiddlers_path =>
(
default => sub{return 'data/cpan.metacurator.tiddlers.json'},
is => 'rw',
isa => Str,
required => 0,
);
our $VERSION = '1.00';
# ------------------
r().
use DateTime::Tiny;
use File::Spec;
use File::Slurper 'read_text';
use Moo;
use Mojo::JSON 'from_json';
use Text::CSV::Encoded;
use Types::Standard qw/Str/;
our $VERSION = '1.00';
# --------
::Spec -> catfile($self -> home_path, $self -> tiddlers_path);
my($json) = read_text($file_name, 'UTF-8');
return from_json $json;
} # End of read_tiddlers_file.
# -------------------------------