I am not able to catch any of the errors in the methodA; but only those in the methodB. What must be done other than what is being mentioned in the sample code?$rowHandle = \$methodA; if(!methodB($rowHandle)){ return; } sub methodB(){ $handle = $_; &$handle(); } sub methodA(){ if($error){ return 0; } }
In reply to Method references by AnnShinoy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |