Home | Webmasters | ( 2 ) | Stay informed | Post reply

Disclosure: This post may contain affiliate links which may earn us a commission when you click on them.

Posted by Henry on June 04, 2011 at 01:41:22:

I just got to know about how to create an entry in ms xcel using perl and you can use the code below which I found at http://lena.franken.de/perl_hier/excel.html

sub write_text {
my $worksheet = shift;
my ($x,$y)=(0,0);
# Simple text
$worksheet->write($y++, $x, "Hi Excel!");
# Simple text bold
$worksheet->write($y++, $x, "Hi Excel!", $format{bold});
}

It will create an entry as can be seen in the image above




Comments:



Post a reply

Required fields are Name and Reply.


Name:

Reply:

Recent Posts: