Thanks all for the feedback. Bill, I did not try your test. After further debugging, I found that when I removed the HTML headers and just printed it to screen, it was fine (text was all in one row and formatted correctly). But, that turned out not be the problem. I was trying to push my formatted string to create an Array of Arrays, of course that was not the way to do it. After more investigation, I was able to create my Array of Arrays and the graph came out great.
Aaron, you're probably right about the HTML break lines. Thanks again, David -----Original Message----- From: $Bill Luebkert [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 13, 2005 5:42 PM To: Hsu, David Cc: [email protected] Subject: Re: String formatting Hsu, David wrote: > Thanks all for the suggestions, > > I tried > $data =~ s/\r//g; > and also with \n. Still the same output. I outputted the string to a > text file, and it is all in one line. So, I'm still baffled to why it > is printing in separate lines in HTML format and the "invalid data set" > error when I try to graph. Still waiting for the small test case that illustrates your problem and the hex dump of your problem variable (I guess $data in this case). You can't figure out a problem until you explain it properly. -- ,-/- __ _ _ $Bill Luebkert Mailto:[EMAIL PROTECTED] (_/ / ) // // DBE Collectibles Mailto:[EMAIL PROTECTED] / ) /--< o // // Castle of Medieval Myth & Magic http://www.todbe.com/ -/-' /___/_<_</_</_ http://dbecoll.tripod.com/ (My Perl/Lakers stuff) _______________________________________________ ActivePerl mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
