in reply to Re^5: How to read data from csv file and place the data on HTML format
in thread How to read data from csv file and place the data on HTML format

"Where i was not able to use HTML:: modules"

Which modules, why are you not able to use them? Making people guess what problems you're having is a waste of your time and ours. Please be specific, read and understand How do I post a question effectively?.

"Any help on how can i put my data on table"

Does this relate to your many previous posts about emailing this data as the email body? Regardless, since you can print the data, you know you could simply print the HTML required to display this in a table. Alternativly you could use a templating module such as HTML::Template or Template::Toolkit to keep your HTML and your data separate.

  • Comment on Re^6: How to read data from csv file and place the data on HTML format

Replies are listed 'Best First'.
Re^7: How to read data from csv file and place the data on HTML format
by Perlseeker_1 (Acolyte) on Jun 27, 2013 at 10:50 UTC
    Hi,

    Sorry again, i mean to say the perl modules are not avaiable in

    my system,such as HTML::Template or Template::Toolkit

    when i use the HTML::Template or Template::Toolkit,

    I am getting error like "Can't locate HTML/Entities.pm in @INC"

    Do we have any other method where we can create tables

    and put data in tables

    Thanks

      If modules aren't available it means that they didn't come along with Perl, or you haven't installed them yet. If you want to use them, you'll have to install them, the same way you (or someone else on your system) did with MIME::Lite. Basically:

      cpan Module::Name

      Ensure your configuration is setup to follow prerequisites:

      cpan> o conf prerequisites_policy follow cpan> o conf commit

      I mentioned another method in my previous post. If you understand how to build up a string and print it, the same principle applys to building up a string of HTML. Again, please read the posts I linked to, the formatting of your posts is really weird.