- or download this
foo($value);
...
print "$v\n";
}
- or download this
my @inputArray = (1,2,3,4,5,6,7,8);
traverseArray2(\@inputArray);
...
print $aref->[$counter], "\n";
traverseArray2($aref, $counter+1);
}
- or download this
my @inputArray = (1,2,3,4,5,6,7,8);
traverseArray3(@inputArray);
...
print shift, "\n";
goto &traverseArray3;
}