in reply to Method references
That would have shown you that $methodA does not exist.
Try that with
my $rowHandle = \&methodA; if(!methodB($rowHandle)){ # If you want to PASS the method ... sub methodB(){ my $handle = $_[0]; $handle->(); # CALL the method
I hope life isn't a big joke, because I don't get it.
-SNL
|
|---|