Skip Menu |

This queue is for tickets about the Locale-Maketext-Utils CPAN distribution.

Report information
The Basics
Id: 85588
Status: resolved
Priority: 0/
Queue: Locale-Maketext-Utils

People
Owner: Nobody in particular
Requestors: dmuey [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: makevar() should also, alternatively, accept an array ref (i.e. for easier use in TT)
$locale->makevar(@mystuff) is gard to do in TT since everything is a ref: [% locale.makevar(mytstuff) %] is hard to do in TT: + [%- SET item_list = [] -%] + [%- FOREACH i IN item.stuff; item_list.push(i.json); END -%] + [% '\[% locale.makevar(' _ item_list.join(", ") _ ') %\]' | evaltt %]
once in place, we can remove the override noted in https://github.com/bdraco/addon_securityadvisor/pull/29
done in v0.37 just uploaded to CPAN