- or download this
my $location = $table[i]->[0]; # missing $ on i
my $room = $table[i]->[1];
- or download this
my $location = $table->[$i][0];
my $room = $table->[$i][1];
- or download this
#!/usr/bin/perl
use strict;
...
$hdata{$location} = $status;
}
pp \%hdata;