in reply to What is Exported from modules
use Some::Module; my %subs = map { $_ => \&$_ } grep { defined &$_ } keys %main:: ; [download]