push @notices, { username => $username, hours => $hours_balance, };
push @renewals, { username => $username, hours => $hours_balance, };
####
my %sent;
$sent{ notices } = \@notices;
$sent{ renewals } = \@renewals;
####
Clients sent Notices:
[% FOREACH item IN notices %]
[%item.username%]: [%item.hours%]
[% END %]
Clients sent Renewals:
[% FOREACH item in renewals %]
[%item.username%]: [%item.hours%]
[% END %]
####
$VAR1 = {
'renewals' => [
{
'hours' => '8.84 hours remaining',
'username' => 'airdhill'
},
{
'hours' => '5.51 hours remaining',
'username' => 'anneli'
},
{
'hours' => '4.97 hours remaining',
'username' => 'batelaan'
},
{
'hours' => '8.21 hours remaining',
'username' => 'bc'
},
{
'hours' => '9.24 hours remaining',
'username' => 'bmcadam'
},
],
'notices' => [
{
'hours' => '13.17 hours remaining',
'username' => 'abrayman'
},
{
'hours' => '10 hours remaining',
'username' => 'alsminor'
},
{
'hours' => '14.24 hours remaining',
'username' => 'anreed'
},
{
'hours' => '15 hours remaining',
'username' => 'ashwood'
},
{
'hours' => '10 hours remaining',
'username' => 'bassman'
},
]
};