---
name: "SQL::Translator::Parser::xSV"
section: "3pm"
platform: "linux"
package: "libsql-translator-perl"
version: "1.66-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SQL::Translator::Parser::xSV"
---

# SQL::Translator::Parser::xSV(3pm)

parser for arbitrarily delimited text files

## NAME

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

## SYNOPSIS

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

## 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:

## 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"`.

## AUTHORS

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

## SEE ALSO

Text::RecordParser, SQL::Translator.
