http://www.perlmonks.org?node_id=1009702
ISAI student has asked for the wisdom of the Perl Monks concerning the following question:

Hello all. I am looking at an old script that I am "renovating", and I saw the following line of code, which will serve as an example:

$thread = threads->create(\&execute, $i, $reg_info_hashRef, $erbose);

I want the threads->create to check that I input the right number of arguments (execute is prototyped). This means that the code should look like this:

$thread = threads->create(\execute, $i, $reg_info_hashRef, $erbose);
I know that using ampersand disables the prototype test. Should removing just enable the prototype test, and/or do anything else? Thanks.