in reply to Using POD as help in a Tk app

Kind of a hack, but you could just capture the output of perldoc. Use the -T switch to bypass any pagers.

my $perldocs = `perldoc -T Some::Module`;