Pg-Loader
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
lib/Pg/Loader/Columns.pm view on Meta::CPAN
when (/^(.*?),(.*)$/o ) { return range2list($1). ','
.range2list($2)}
default { return ''}
}
}
sub ranges2set {
my @unit = (0..20);
my $tmp = range2list( shift||return) ;
{ no warnings 'deprecated';
$[=0; no warnings; %_= map { ($_=>undef)} eval ' @unit['.$tmp.']' }
[ sort keys %_ ];
}
sub init_csv {
my ($s) = @_ ;
new Text::CSV {
quote_char => $s->{quotechar} ,
escape_char => $s->{escapechar} ,
sep_char => $s->{field_sep} ,
eol => $s->{eol} ,
view all matches for this distributionview release on metacpan - search on metacpan
( run in 1.020 second using v1.00-cache-2.02-grep-82fe00e-cpan-da92000dfeb )