Hi all,
First of all, this is my question on PerlMonk and really hoping for long lasting association with Perl monks. Here is a question:
I have written perl script to handle file and get output in required fashion. e.g. my output is file with columns as follows:
pmid--------Title----------Author
2843847-----XYZ------------ABC
2342545-----LMN------------DEF
Now, I want to create hyperlink to title column, wherein, if I click, say, XYZ then respective pmid link should get open, say like this -
http://www.ncbi.nlm.nih.gov/pubmed/2843847.
So, question more precisely is, how assign hyperlink to output text using Perl?
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.