in reply to Re^2: Return value from code reference stored in dispatch table
in thread Return value from code reference stored in dispatch table

Admittedly, I am non the wiser now. Would it be possible to also show some of the code of the dispatch functions? Ideally, something like the following skeleton should help to isolate the problem: (depending on how much effort it is to strip it down like this)

use strict; use warnings; sub emailagenda { # full definition here ... } %ActionSubsM = ( 'emailagenda' => \&emailagenda, ); my $RtnVal = $ActionSubsM{ 'emailagenda' }->( 'meetingid1' ); print "|$RtnVal|\n";