in reply to Re: Re: Re: Re: csv output
in thread csv output
One is to use the format_csv function that I gave you, and write a loop where you walk through your data, fetch it into Perl, and then write the file yourself. I would generally suggest doing that, my experience is that it is easier to pull data into Perl and manipulate it in Perl than it is to drive an external application.
The other is to get the Excel approach working. Not having it available at the moment, I cannot test it. But I can tell you that the error message will not generally be put into $!. Instead you will need to call Win32::OLE::LastError() to get the error message. No promises, but the odds are pretty good that if you check that you will get useful feedback.
|
|---|