in reply to Re^2: Read excel column and compare with array
in thread Read excel column and compare with array

That's pretty trivial with map:

#!/usr/bin/env perl use strict; use warnings; use Data::Dumper; my @rows = ( [ 'AA1', 'BB1' ], [ undef, undef ], [ 111, 101 ], [ 222, 202 ], [ 333, 303 ], [ 444, 404 ], [ 555, 505 ], [ 666, 606 ], [ 777, 707 ], [ 888, 808 ], [ 999, 909 ] ); my @bb1 = map { $_->[1] } @rows; print Dumper \@bb1;

Replies are listed 'Best First'.
Re^4: Read excel column and compare with array
by snehit.ar (Beadle) on Jul 17, 2017 at 10:35 UTC
    Thanks for help..