Catmandu::Fix::mapping(3pm)

Catmandu::Fix::mapping3pm

Move several fields by a lookup table

Usage

    # field_mapping.csv
    # AU,author
    # TI,title
    # PU,publisher
    # Y,year
    # fields found in the field_mapping.csv will be replaced
    # {AU => "Einstein"}
    mapping(field_mapping.csv)
    # {author => "Einstein"}
    # fields found in the field_mapping.csv with keep option will be copied
    # {AU => "Einstein"}
    mapping(field_mapping.csv, keep: 1)
    # {AU => => "Einstein", author => "Einstein"}
    # values not found will be kept
    # {foo => {bar => 232}}
    mapping(field_mapping.csv)
    # {foo => {bar => 232}}
    # in case you have a different seperator
    mapping(field_mapping.csv, sep_char: |)

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

From libcatmandu-perl 1.2024-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.