HF RL Explorer

mail templates: edge case

mail templates: edge case: a task in smol-software-harbor (Harbor dataset). fill in lib/Template/Tiny.pm prints an empty string when a variable exists but is empty, instead of using the {{name fallback}} text, so mails start with "Hello ,". As the comment says, an empty value counts as missing…

The task

`fill` in `lib/Template/Tiny.pm` prints an empty string when a variable exists but is empty, instead of using the `{{name|fallback}}` text, so mails start with "Hello ,". As the comment says, an empty value counts as missing (but `0` is a real value). Fix it and run `prove -Ilib t/`.

Part of efederici/smol-software-harbor.