UpTest > General Programming > Perl Test

Test: Perl Test

Question 1: Prev Next Hide answers

What is the following code an example of?

    $hitCounter=sub {print "This page has been called $hits times";};
Anonymous subroutine
1 votes
Anonymous array
0 votes
0 votes
Anonymous hash
0 votes
Object reference
0 votes
Please login to submit your answer.