in reply to Extract&Print row from two-dimensional array

It looks to me like you are getting an arrayref from $cell[0], not an array. So you need to dereference the ARRAY(0x2b59f14) into an array before joining.

untested

my $rowOneCells = $cell[0]; #get row one as new arrayref my $rowOne = join (", ", @{$rowOneCells} );

I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh

Replies are listed 'Best First'.
Re^2: Extract&Print row from two-dimensional array
by petecm99 (Pilgrim) on Nov 09, 2010 at 21:10 UTC
    Brilliant! Thanks for that, worked like a charm...