use Text::Table;
my $tb = Text::Table->new(“Planet”,”Radius\nkm”,”Density\ng/cm^3”);
$tb->load(
[ “Mercury”,2360,3.7],
[ “Mercury”,2360,3.7],
[ “Mercury”,2360,3.7],
);
Print $tb;
I'm executing the above perl snippet to create the table with the data. But i'm getting an error as
Can't locate Text/Table.pm in @INC (@INC contains: C:/Perl64/site/lib C:/Perl64/
lib .) at table.pl line 1.
BEGIN failed--compilation aborted at table.pl line 1.
I'm using Activeperl,Selenium RC. Should i need to download any packages for the table ? or any other better ways to create a table apart from this ?