Subject: | [Patch]Dynamic values for the module "RT-Extension-QuickCalls" |
Date: | Mon, 17 Jan 2011 15:07:01 +0100 |
To: | cpan [...] jibsheet.com |
From: | Erik Wasser <erik.wasser [...] iquer.net> |
Hi Kevin Falcone,
thanks for your great module "RT-Extension-QuickCalls". I've installed and it
worked out of the box.
I've made an extension to the module so you can use code references as default
values for the template. So you can use the following 'Set()' call to produce
dynamic values:
Set($QuickCalls,[ {
Name => 'foo',
Subject => 'bar',
Content => sub {
my $date = strftime("%H:%M", localtime);
return "When: $date\n\n";
},
}]);
I've attached the small patch to this mail. Please feel to use it for the next
release.
Thanks for your work.
--
So long... Erik
Message body is not shown because sender requested not to inline it.