Skip Menu |

This queue is for tickets about the RT-Extension-QuickCalls CPAN distribution.

Report information
The Basics
Id: 64844
Status: resolved
Priority: 0/
Queue: RT-Extension-QuickCalls

People
Owner: Nobody in particular
Requestors: fuzz [...] namm.de
Cc:
AdminCc:

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



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.

An equivalent patch has been applied, and released in version 1.00. - Alex