Well I was looking for a command-line solution, which could also work within the debugger...
And after investigating Pod::Man I discovered that the X-tags (and more) ARE actually (almost correctly) exported to man's *roff- format.
lanx@nc10-ubuntu:/tmp$ grep 'X<qr>' perlop.pod
X<qr> X<s> X<tr> X<'> X<''> X<"> X<""> X<//> X<`> X<``> X<<< << >>>
X<qr> X</i> X</m> X</o> X</s> X</x> X</p>
lanx@nc10-ubuntu:/tmp$ grep 'Xref' perlop.man |grep qr
.IX Xref "operator, quote operator, quote-like q qq qx qw m qr s tr '
+'' "" """" ` `` << escape sequence escape"
.IX Xref "qr i m o s x p"
So it's more a question about finding an appropriate viewer/pager to be able to jump into the correct line.
Identifying the file is no big deal...
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
|
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.