use Text::CSV_XS qw[]; Text::CSV_XS::csv( out => 'filename.csv', in => Array[HashRef], headers => [qw[field1 field2 ...]], binary => 1, encoding => 'UTF-8', decode_utf8 => 0, eol => $LF, );
https://www.postgresql.org/docs/current/static/uuid-ossp.html
CREATE EXTENSION IF NOT EXISTS "uuid-ossp"; "id" UUID PRIMARY KEY NOT NULL
my $dbh = DBI->connect( qq[DBI:mysql:database=$self->{cfg}->{MYSQL}->{db};host=$self->{cfg}->{MYSQL}->{host};port=$self->{cfg}->{MYSQL}->{port}], $self->{cfg}->{MYSQL}->{username}, $self->{cfg}->{MYSQL}->{password}, { RaiseError => 1, PrintWarn => 0, ShowErrorStatement => 1, mysql_auto_reconnect => 1, mysql_enable_utf8mb4 => 1, mysql_multi_statements => 1, } );
CREATE TABLE IF NOT EXISTS `table` ( `id` VARCHAR(20) NOT NULL, PRIMARY KEY (`player_id`) ) DEFAULT CHARSET=utf8mb4;
"unix_timestamp" INTEGER NOT NULL DEFAULT(CAST(STRFTIME('%s', 'now') AS INT))
@_ = ($arg1, $arg2, ...); goto &method;
To install Pcore, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Pcore
CPAN shell
perl -MCPAN -e shell install Pcore
For more information on module installation, please visit the detailed CPAN module installation guide.