schwern <[EMAIL PROTECTED]> writes:

> Hey hey!  Why not?

> =begin _private

> =item B<_something_internal>

>   my $thing = $obj->_something_internal;

> Blah blah blah

> =cut

> sub _something_internal {
>    ...code...
> }

> =pod

> =end _private


> And a perldoc --private flag (or -p or whatever) to display it along
> with the rest of the docs!

> This will require some modification to pod2man and pod2text, but
> nothing difficult.

That's a good idea.  Patches welcome; I'd prefer =begin/=end hidden
with no underscores and in lower case and --hidden, I think, unless
someone has a better term; that's more general than "internals" and I
think somewhat more accurate than "private."  But I could also be
convinced I'm wrong.

-- 
Russ Allbery ([EMAIL PROTECTED])             <http://www.eyrie.org/~eagle/>

Reply via email to