1SQL::Translator::ParserU:s:exrSVC(o3n)tributed Perl DocuSmQeLn:t:aTtriaonnslator::Parser::xSV(3)
2
3
4

NAME

6       SQL::Translator::Parser::xSV - parser for arbitrarily delimited text
7       files
8

SYNOPSIS

10         use SQL::Translator;
11         use SQL::Translator::Parser::xSV;
12
13         my $translator  =  SQL::Translator->new(
14             parser      => 'xSV',
15             parser_args => { field_separator => "\t" },
16         );
17

DESCRIPTION

19       Parses arbitrarily delimited text files.  See the Text::RecordParser
20       manpage for arguments on how to parse the file (e.g., "field_separa‐
21       tor", "record_separator").  Other arguments include:
22

OPTIONS

24       * scan_fields
25           Indicates that the columns should be scanned to determine data
26           types and field sizes.  True by default.
27
28       * trim_fields
29           A shortcut to sending filters to Text::RecordParser, will create
30           callbacks that trim leading and trailing spaces from fields and
31           headers.  True by default.
32
33       Field names will automatically be normalized by "SQL::Transla‐
34       tor::Utils::normalize_name".
35

AUTHORS

37       Darren Chamberlain <darren@cpan.org>, Ken Y. Clark <kclark@cpan.org>.
38

SEE ALSO

40       Text::RecordParser, SQL::Translator.
41
42
43
44perl v5.8.8                       2007-10-24   SQL::Translator::Parser::xSV(3)
Impressum