http://qs321.pair.com?node_id=1015255


in reply to Showing the right POD via Pod::Usage

Is there a simple solution, or am I out of luck?

Yeah, don't pack the pod for the module, just pack the pod for the script

fatpack, Pod::Strip, PAR::Filter::PodStrip

Replies are listed 'Best First'.
Re^2: Showing the right POD via Pod::Usage
by skx (Parson) on Jan 25, 2013 at 09:40 UTC

    Right now I have N files, each of which contains "pod" + "code". To combine them I just use cat.

    Moving the pod away from the code feels like a bad idea.

    Steve
    --

      Right now I have N files, each of which contains "pod" + "code". To combine them I just use cat.

      Moving the pod away from the code feels like a bad idea.

      Keep pod however you want, but don't deploy pod, but don't ship pod, but don't give the end user pod he doesn't care about, don't pack the pod that isn't meant for end user, strip it for deployment, strip it for packing, strip it don't ship it

      When I'm using http://cpanmin.us/ I don't care about the modules it uses