Scroll to navigation

Catmandu::Fix::template(3pm) User Contributed Perl Documentation Catmandu::Fix::template(3pm)

NAME

Catmandu::Fix::template - add a value to the record based on a template

SYNOPSIS

   # Your record contains:
   #
   #  name: John
   #  age: 44

   template(message,"Mr [%name%] is [%age%] years old")

   # Result:
   #
   #  name: John
   #  age: 44
   #  message: Mr John is 44  years old

SEE ALSO

Catmandu::Fix, Template
2017-10-02 perl v5.26.0