in reply to Re^3: 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

The short answer is to stop printing things you don't want to print. It should be fairly obvious where the ',' occurs within the code you've posted.

The long answer is to stop, take a step back and learn the basics. Copying and pasting code people have given you which you don't understand and piecing together a program in this manner isn't wise. If you don't understand what it code you've been given does make some effort to find out how and why it does what it's doing. If you need more help ask specific questions.

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

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

    First of all my apologies for the trouble and i
    rectified the '.' issue

    print "\n $pattern,$Orig_gz[0],$Orig_gz[1],$Orig_gz[1],$TT1[0]->[0],$ +TT1[0]->[1],$Orig[0],$Orig[1],$Orig[1],TRUE\n"; print "\t \t \t \t \t $TT1[1]->[0],$TT1[1]->[1] \n";

    The only issue what i am having is HTML table

    Where i was not able to use HTML:: modules

    Any help on how can i put my data on table

    is appreciated

    Thanks

      "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.

        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