in reply to Passing two arrays to a subroutine
you cannot pass two arrays to a subroutine without loosing the information which entry belongs to which array. a subroutine call flattens array contents to a long list.
perlsub perlrefColumn(\@act_table, \@colm); sub Column { my ($actcol, $col) = @_; # now iterate over @$col instead of @col }
|
|---|