in reply to Re^3: Extracting/embedding sample files in POD
in thread Extracting/embedding sample files in POD

We're "on the same page," or close to it. I'm creating supplementary tests from in-source-POD, and pure-POD from that same in-source-POD. The main difference between your workflow idea and my current practice is that I haven't separated the POD template out into its own file, à chacun son goût...
  1. My sample code is in POD inside of Module.pm
  2. POD::Tested provides a controller script pod_tested.pl that can generate both (or either of) Module.pod and Module.t as products of Module.pm's POD
  3. There's no magic re-writing of the original Module.pm.
I now have some tests asserting that my examples are correct, and pure-POD files alongside the modules. There's a little more to it than that "in real life" but that's the basics.
  • Comment on Re^4: Extracting/embedding sample files in POD

Replies are listed 'Best First'.
Re^5: Extracting/embedding sample files in POD
by LanX (Saint) on Feb 19, 2015 at 22:29 UTC
    OK thanks , I'll give it a try. :)

    push @todo, POD::tested

    (pity the keyword tag system in the monastery can't be searched)

    Cheers Rolf

    PS: Je suis Charlie!