LibreCat / Catmandu

Catmandu - a data processing toolkit
https://librecat.org
177 stars 31 forks source link

Treat quotes numerals as string literals not as integers #317

Closed phochste closed 7 years ago

phochste commented 7 years ago
add_field(a,"910")    # a := "910"
add_field(b,910)       # b := 910

Ref: https://github.com/LibreCat/Catmandu-MARC/issues/82

nics commented 7 years ago

I'm afraid both are just scalar's to perl. This should be handled as late as possible in the marc package by writing an interpolated literal $record->{tag} = "$tag".