use ePod ; $input = epod2pod($input) ; # after this is just like POD process: use Pod::HtmlEasy ; my $p = Pod::HtmlEasy->new() ; $input = $p->pod2html($input , only_content => 1 , no_index => 1 );