On Jul 28, Pandey Rajeev-A19514 said:
>In this subroutine, @FORMATTED_OUTPUT was filled up as a 2 dimensional
>array $FORMATTED_OUTPUT[$i][$j].
>sub ABC {
>.. SOME CODE
>return (\$rows, \$cols, [EMAIL PROTECTED]);
>}
WHY are you returning a reference to a scalar? If $rows is a reference to
Pandey Rajeev-A19514 wrote:
Hi,
The dimension of the data increases by each pass by reference.
In this subroutine, @FORMATTED_OUTPUT was filled up as a 2 dimensional array
$FORMATTED_OUTPUT[$i][$j].
sub ABC {
.. SOME CODE
return (\$rows, \$cols, [EMAIL PROTECTED]);
}
In subroutine DEF, ABC