Subject: | Pod::Usage -output $FH will not update when called multiple times |
Following situation:
* perlscript.pl uses Module.pm, both contain POD and use POD::Usage
* in perlscript.pl we have a function "help" which calls pod2usage({...
-output => IO::Scalar->new{\$FH1) ... }); and subsequently "Module::help"
* in Module.pm we have a function "help" which calls pod2usage({...
-output => IO::Scalar->new{\$FH2) ... });
* pod2usage in Module.pm ignores the filehandle and uses always $FH1
=> We get two times the content of the perlscript.pl POD and Module.pm
POD is ignored.