Hi. Other than following somebody else's suggestions for lines of Perl (Practical extraction and reporting language) code to correct, I don't think I have ever written a full script in Perl and don't know much about the Perl interpreter. Currently I have Perl 5.18.2 installed in a 64-bit, openSUSE Leap, 42.1 Linux operating system. A Perl subroutine written by other people and with a name of the form “make_....._href” that begins with the line of code of the form
''sub make_...._href {'' ends with a line of code looking like
''<A NAME=...... HREF=......>...</A>'';}, or text enclosed by a pair of double-quotation marks, as well as a closing semicolon for I suppose the line of code and a closing right brace to complement the opening left brace and complete the enclosure of the subroutine's contents. I suspect that the purpose of such a line of code is to eventually facilitate the writing of at least a portion of a line in a .html (HyperText Markup Language), output file which at least sometimes may include a hyperlink to a different Web page or else to a location on the same Web page. But I don't think the line
''<A NAME=...... HREF=......>...</A>''; all by itself will enable any such writing to be performed in a .html file! Where should I be looking for the explicit command for such writing of that line in the .html, output file? I suspect that a built-in function of Perl might be involved in such writing. Do you, hopefully an experienced Perl programmer, agree with this guess of mine? Is there a built-in Perl subroutine with a name ending in href? And if so, how may I see its lines of code?
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.