in reply to Data::Table showing error

Pass a second argument of 0 to tell the module not to use headers:

#!/usr/bin/perl use strict; use warnings; use Data::Table; my $t = Data::Table::fromCSV( "ravi.csv", 0 ); # Read a csv file + into a table object (no headers) print $t->csv; # Display a 'portrait' HTML TABLE + on web.

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority". I knew I was on the right track :)
In the absence of evidence, opinion is indistinguishable from prejudice.

Replies are listed 'Best First'.
Re^2: Data::Table showing error
by ravi45722 (Pilgrim) on Oct 27, 2015 at 05:26 UTC

    Ya, I passed it and its showing an error again.

    Invalid column col9Unknown column col9 at /root/perl5/lib/perl5/Data/T +able.pm line 1794. Data::Table::group('Data::Table=HASH(0x15e84c0)', 'ARRAY(0xff0 +300)') called at test_table.pl line 13