Hi Rick,
The bug is that you're calling
my %list = (list => \@courses);
when you should be calling
my %list = (courses => \@courses);
If only there were 'strict' and 'warnings' for Template! :-)
Andrew
On Sun, Oct 28, 2018 at 8:52 PM Rick T wrote:
> As a novice in perl I realize that it’s
As a novice in perl I realize that it’s a bit presumptuous for me to attempt
references and complex data structures. But I had a need and gave it a shot — a
failing shot. I’ve been fiddling with my failure, almost mindlessly, all
weekend; now I need some help.
Below is the template segment I am
One way to unzip with Perl is this method:
use warnings;
use strict;
use Archive::Zip qw( :ERROR_CODES :CONSTANTS );
my $zipfile = 'zipped.zip';
my $zip = Archive::Zip->new();
die "Error reading $zipfile:$!" unless $zip->read($zipfile) == AZ_OK;
$zip->extractMember($zipfile) for $zip->members