Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: pod2html: link (L<...>) formatting code

by kcott (Archbishop)
on Dec 15, 2021 at 02:52 UTC ( [id://11139635]=note: print w/replies, xml ) Need Help??


in reply to Re: pod2html: link (L<...>) formatting code
in thread pod2html: link (L<...>) formatting code

G'day haj,

++ Many thanks for your reply.

"Unfortunately, pod2html does not work like this. ..."

I think that explains my earlier statement: "I feel like I'm missing something obvious, but have no idea what that might be."

I didn't realise that I needed --verbose to display warning messages. I did try it and sure enough:

... Cannot find file "perlpod.*" directly under podpath, cannot find suita +ble replacement: link remains unresolved. Cannot find file "strict.*" directly under podpath, cannot find suitab +le replacement: link remains unresolved. Cannot find file "Getopt/Long.*" directly under podpath, cannot find s +uitable replacement: link remains unresolved. Cannot find file "Text/CSV.*" directly under podpath, cannot find suit +able replacement: link remains unresolved.

Based on that, I tried adding '--podpath=`perl -e 'print join ":", @INC'` --recurse'. This did produce links with href= values like "/path/to/name.html"; however, none of those name.html files existed — there were equivalent name.pod or name.pm files at the /path/to/ locations.

That may be worth pursuing, or perhaps your suggestion of "hook into sub resolve_pod_page_link" would be a better option. Anyway, that's got me further along than I was before, so thanks again.

— Ken

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11139635]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-24 18:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found