Hello Shivangi17, welcome. Please have a look at the Perl Monks guide to the Monastery and How do I post a question effectively?

If you're very new to Perl, you should probably start with perlintro.

Normally one would read a CSV file with the module Text::CSV. There are several modules to generate HTML output for you, take a look at the CPAN. One module of many is HTML::Template, or in your case maybe HTML::Table would be helpful.

Your question does not include enough sample input and output data to give a good answer. Especially the output: I am only guessing that you're talking about HTML? Will the CSV rows be embedded into an HTML file, or transformed into the desired output format in some other way?

Please have a look at the documentation linked above, and provide more sample input data and some of the expected output. If you've written some code that you have questions about, please feel free to post that here too.


In reply to Re: Give hyperlink to text perl by Anonymous Monk
in thread Give hyperlink to text perl by Shivangi17

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.