GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
SQL::Translator::Parser::xSV(3) User Contributed Perl Documentation SQL::Translator::Parser::xSV(3)

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

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

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

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:

  • 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".

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

Text::RecordParser, SQL::Translator.
2020-09-14 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.