in reply to Ignoring embedded POD

I can't think of a way to get perldoc to ignore your embedded POD, but here are a couple of possible workarounds.

1. Store your POD in a separate file, then read that file into your script.

2. Create pseudo-POD in a variable, then process the variable before using it:

use warnings; use strict; my $p = ' ==pod ==head1 NAME programName ... ==cut '; $p =~ s/^==/=/g; print "$p\n";

Replies are listed 'Best First'.
Re^2: Ignoring embedded POD
by Anonymous Monk on Jul 18, 2013 at 14:16 UTC
    Let me see if I can do the workarounds. Thanks