This role is used to generate file or pathnames from a template
string and the path arguments given. It also accepts additional data as a
hash.
- file
- A template toolkit string to generate the filename to write to. The
arguments given as connector location are available in ARGS, the
payload data in DATA. The class will die if the result contains any
other characters than word, whitespace, dash or dot.
- path
- Similar to file with slash and backslash also allowed. Disallowed
characters will be removed and the sanitized string is returned.