dorko has asked for the wisdom of the Perl Monks concerning the following question:
I've got a curious problem. I'm using Spreadsheet::TieExcel to read and write a MS Excel file. As soon as I use Spreadsheet::TieExcel, all my print statements have a \n appended to the end of them.
This snippet:
printsuse strict; use warnings; #NOTE: you must have Excel open for this to work. use Spreadsheet::TieExcel; print "asdf"; print "1234";
Commenting out the use Spreadsheet::TieExcel works as expected.asdf 1234
printsuse strict; use warnings; #use Spreadsheet::TieExcel; print "asdf"; print "1234";
I'm using Windows XP, Activestate Perl build 811, and Spreadsheet::TieExcel version 0.73.
Thoughts? Questions? Comments?
Cheers,
Brent
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: print adds \n when using Spreadsheet::TieExcel
by ikegami (Patriarch) on Apr 11, 2006 at 16:06 UTC | |
|
Re: print adds \n when using Spreadsheet::TieExcel
by japhy (Canon) on Apr 11, 2006 at 16:06 UTC |