http://www.perlmonks.org?node_id=242684


in reply to Re: RFC: Pod::Remove
in thread RFC: Pod::Remove

* Why strings?

Because for some reasons having to do with cpanstats I want to analyse the code of some CPAN modules. I'm not interested in the POD, so I want to remove it. And I do not want to mess around with files (especially when running some analysis on all of CPAN) just to remove POD.

What I want is something like

my $podless=remove_pod($code)
so I can mung $podless.

* What about DATA filehandles?

I'm not sure what you mean by this..

-- #!/usr/bin/perl for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/}