in reply to Trying to pass Hash to Module
But I think this is the point where you call the $module = "labelupdate" routine
> $module_map{$module}->($active_modules_ref)
But labelupdate doesn't accept resp. unpack any arguments, $active_modules_ref is taken from the surrounding closure.
This might not be the reason for your problem tho.
But you should really untangle your code to show a clearer logic, if such bugs happen.
Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery
|
|---|