Click here to get back home

simple bar chart module

 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
simple bar chart module joe 12-14-2007
Get Chitika Premium
Posted by LemonHall on December 25, 2007, 12:56 am
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
Suggest a good Chart (link/bar) drawing module December 13, 2005, 8:07 am
Newb Needs Help with Simple ImageMagick Module October 26, 2005, 11:02 am
using specific features in module XML::Simple December 12, 2005, 3:36 pm
Any experiences with LockFile::Simple module? April 25, 2006, 4:56 pm
A simple way to make a code folder available as a module May 23, 2007, 11:16 pm
Module to store a hash as a simple indexed file? June 13, 2005, 9:28 am
pie chart November 15, 2005, 7:04 pm
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
floating bar in the line chart April 21, 2008, 1:13 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap