logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Authors

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

Description

       Parses arbitrarily delimited text files.  See the Text::RecordParser manpage for arguments on how to
       parse the file (e.g., "field_separator", "record_separator").  Other arguments include:

Name

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

Options

       •   scan_fields

           Indicates  that  the  columns  should  be  scanned  to determine data types and field sizes.  True by
           default.

       •   trim_fields

           A shortcut to sending filters to Text::RecordParser, will create  callbacks  that  trim  leading  and
           trailing spaces from fields and headers.  True by default.

       Field names will automatically be normalized by "SQL::Translator::Utils::normalize_name".

See Also

       Text::RecordParser, SQL::Translator.

perl v5.40.0                                       2024-11-23                  SQL::Translator::Parser::xSV(3pm)

Synopsis

         use SQL::Translator;
         use SQL::Translator::Parser::xSV;

         my $translator  =  SQL::Translator->new(
             parser      => 'xSV',
             parser_args => { field_separator => "\t" },
         );

See Also