- or download this
if (exists $colD{$valA}) {
...
elsif (! exists $colD{$valA}) {
...
}
- or download this
if (exists $colD{$valA}) {
...
else {
...
}
- or download this
...
use strict;
use warnings;
use diagnostics;
...
- or download this
my $valA = $sheet->{Cells}[$row][0]->{Val};
if (exists $colD{$valA}) {
...