Click here to get back home

How to create chart in perl using Spreadsheet::WriteExcel

 HomeNewsGroups | Search | About
 comp.lang.perl.misc    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
How to create chart in perl using Spreadsheet::WriteExcel cyrusgreats 12-13-2007
Get Chitika Premium
Posted by cyrusgreats on December 13, 2007, 5:07 pm
Please log in for more thread options
>>
>> [snip]
>>
>> > if I print "$1\n",
>> > the file prints just fine. But, if I do something like print "$1 after
>> > \n", the whole output is messed up. If I print "before $1\n", nothing
>> > prints at all. If I print "before $1 after\n", only after prints.
>>
>> not really sure, but could be a rogue "\r" in $1,


> There
> is a rogue carriage return (0xd) in the string

> Is there something I can do to deal with this
> situation?


Repair the corrupted file:

perl -p -i -e 'tr/\r//d' bad_file


--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas

Similar ThreadsPosted
Create Excel chart from spreadsheet on Un*x? December 28, 2006, 11:28 pm
Query about Spreadsheet::WriteExcel September 10, 2004, 4:01 am
Spreadsheet::WriteExcel & worksheet->write September 25, 2006, 11:54 am
Negative times in Spreadsheet::WriteExcel? June 5, 2007, 7:49 am
GD::Graph - Can it create a stock chart October 7, 2004, 10:42 am
How to generate a process chart from Perl code ? June 7, 2007, 12:16 pm
pie chart November 15, 2005, 7:04 pm
WriteExcel internal hyperlink August 5, 2004, 8:31 am
Problem with Name of Excel Chart September 22, 2005, 9:21 am
win32::OLE and SeriesCollection on a chart July 5, 2007, 7:46 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap