Group
Extension

Matches 1

Data-HandyGen-mysql ( E/EG/EGAWATA/Data-HandyGen-mysql-0.0.5.tar.gz, EGAWATA, 2019; MetaCPAN )
Data-HandyGen-mysql/script/hd_insert_bulk.pl ( view source; MetaCPAN )
#!perl

use strict;
use warnings;

use Data::HandyGen::mysql;
use DBI;
use JSON qw(decode_json);
use YAML;
use Getopt::Long;

my %ids = ();
my $req;

main();
exit(0);

=head1 NAME

hd_insert_bulk.pl -
= @_;

    open my $JSON, '<', $infile
        or die "Failed to open infile : $infile : $!";
    my $json = do { local $/; <$JSON> };
    close $JSON;

    $req = decode_json($json);

    for my $tab
(--password)    : password

Options reading config from file:
    -i(--in,--infile) : input file (JSON)

Options simply inserting records to a table:
    -t(--table)       : table
    -n(--number)    

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.