in reply to Re: Escape newlines in POD / (Selectively) don't generate space characters instead
in thread Escape newlines in POD / (Selectively) don't generate space characters instead
Instead of Z<>, you could try Z<< >>. Here's some interim results; I'll leave you to test this with the various pod* programs you've mentioned.
Here's what I get with Z<> (probably much the same as you're seeing):
$ cat test_pod_z.pod =pod Refer to the L<foobar section in the Module::Really::Really::Really::Very::Very::Long documentation|Z< >Module::Really::Really::Really::Very::Very::Long/foobar>. =cut $ perldoc test_pod_z.pod ... Refer to the foobar section in the Module::Really::Really::Really::Very::Very::Long documentation. POD ERRORS Hey! The above document had some coding errors, which are explaine +d below: Around line 4: A non-empty Z<>
Now with Z<< >>. The space before >>Module... is important; without it you'll get a different error.
$ cat test_pod_zz.pod =pod Refer to the L<foobar section in the Module::Really::Really::Really::Very::Very::Long documentation|Z<< >>Module::Really::Really::Really::Very::Very::Long/foobar>. =cut $ perldoc test_pod_zz.pod ... Refer to the foobar section in the Module::Really::Really::Really::Very::Very::Long documentation.
Just for completeness, and because I had it handy, without the space before >>Module...:
Refer to the foobar section in the Module::Really::Really::Really::Very::Very::Long documentation POD ERRORS Hey! The above document had some coding errors, which are explaine +d below: Around line 4: Unterminated L<Z< ... >> sequence A non-empty Z<>
— Ken
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Escape newlines in POD / (Selectively) don't generate space characters instead (Z<< >>)
by Ionic (Acolyte) on Nov 09, 2020 at 07:00 UTC | |
by Anonymous Monk on Nov 11, 2020 at 03:22 UTC |