in reply to Passing two arrays to a subroutine
You are not using @actcol in the subroutine, so why are you passing it?Column(\@act_table,\@colm); ... sub Column { no warnings; my $actcol = shift; my $col = = shift; $colno++; print "In column : $colno\n"; foreach (@$col) { print "$_\n "; $_=~s/(<Tc(?:\s?\;?\s?\;?\d?)?>)(.*)/Entity_convert($2)/eg; $_= ThinSpace($_); #print "***************** $_\n"; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Passing two arrays to a subroutine
by gandhit (Initiate) on Sep 27, 2010 at 13:06 UTC | |
by choroba (Cardinal) on Sep 27, 2010 at 18:18 UTC |