in reply to Extracting/embedding sample files in POD

Pod::PP has an include directive (and a require directive). The package includes a podpp script as a convenient command line wrapper around the module:

podpp Module.pm | perldoc | less for viewing or

podpp Module.pm | podtested for testing

Of course, you can use the podpp script as the basis of your own scripts to make viewing and testing easier.