geeks only
June 11th, 2002Apparently, this Perl code does something I didn't realize:
foreach my $thevalue (@some_array) {
# Do something
}
In this case $thevalue is actually a reference to that index of @some_array. I'm not sure how, in all of the Perl I've written, I would have never run into that, and I haven't looked it up in any documentation, but [...]