http://www.perlmonks.org?node_id=381508

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hello Friends, I wanted to name on the fly excelsheet
created in Perl file. Pls. do remember that I don't
want to you use any Module for the same.
I will first list down the code and then the problem
which I am facing.Pls. take a look at the code.
print "Content-type: application/vnd.ms-excel; CHARSET=x-sjis\n\n"; print "<HTML xmlns:x='urn:schemas-microsoft-com:office:excel' xmln +s:ss='urn:schemas-microsoft-com:office:spreadsheet'>";

After this I print the values in the excel sheet... The code is in say "abc.cgi" file.

Now the problem which I am facing is that by default the worksheet name appears as the "abc" where "abc" is the name of the cgi file which actually processes the request.

I wanted to dynamically name the worksheet without using any of the perl modules.

Would appreciate your inputs..
Thanks in advance..

20040810 Janitored by Corion: Added formatting, code tags