RE: Where is the new line coming from.

2003-01-16 Thread Dan Muey
> Paul Kraus wrote: > > Interesting When I run the script on my windows box > (5.6.1) I get > > this output > > DEBUG : NON PRINT ACHAR -011747- > > DEBUG : NON PRINT ACHAR -Eco-Liner w/Att A=30-35 B=23-29cm > - DEBUG : > > NON PRINT ACHAR -139.45- > > > > Same script same

Re: Where is the new line coming from.

2003-01-16 Thread Rob Dixon
Paul Kraus wrote: > Interesting When I run the script on my windows box (5.6.1) I get > this output > DEBUG : NON PRINT ACHAR -011747- > DEBUG : NON PRINT ACHAR -Eco-Liner w/Att A=30-35 B=23-29cm - > DEBUG : NON PRINT ACHAR -139.45- > > Same script same source file run on sco o

RE: Where is the new line coming from.

2003-01-16 Thread Dan Muey
'\xd20' version, Delete any xd* and don't use the line is it's empty after that. > > > > -Original Message- > > From: Dan Muey [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, January 16, 2003 11:22 AM > > To: Paul Kraus; Perl > >

RE: Where is the new line coming from.

2003-01-16 Thread Paul Kraus
from? > -Original Message- > From: Dan Muey [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 16, 2003 11:22 AM > To: Paul Kraus; Perl > Subject: RE: Where is the new line coming from. > > > > attached is a copy of the excel file if it helps. > > I

RE: Where is the new line coming from.

2003-01-16 Thread Dan Muey
%n20 is and kill it all the way to the bank. Try that and see. Dan > > > -Original Message- > > From: Paul Kraus [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, January 16, 2003 11:03 AM > > To: 'Dan Muey'; 'Perl' > > Subject: RE: Where

Re: Where is the new line coming from.

2003-01-16 Thread Rob Dixon
Paul Kraus wrote: > attached is a copy of the excel file if it helps. Paul You have CRLF at the end of the line. chomp will only remove the LF. Try s/[[:cntrl:]]$//g; instead of chomp. HTH, Rob -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTE

RE: Where is the new line coming from.

2003-01-16 Thread Paul Kraus
attached is a copy of the excel file if it helps. > -Original Message- > From: Paul Kraus [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 16, 2003 11:03 AM > To: 'Dan Muey'; 'Perl' > Subject: RE: Where is the new line coming from. > > &

RE: Where is the new line coming from.

2003-01-16 Thread Paul Kraus
[1]->[2],$format3);# Item List $worksheet->write(1,3,$lineref->[1]->[3],$format1);# Vendor Code $lineref = \@line; while (){ chomp; @line=split /\|/,$_; $line[2]=~s/ //g; &$addline; $count++; } > -Original Message- > From: Dan Muey [mailt

RE: Where is the new line coming from.

2003-01-16 Thread Dan Muey
to kill space that is ) That way you can put newlines of whatever kind wherever you want. > > > -Original Message- > > From: Dan Muey [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, January 16, 2003 10:49 AM > > To: Paul Kraus; Perl > > Subject: RE: Whe

RE: Where is the new line coming from.

2003-01-16 Thread Paul Kraus
9 AM > To: Paul Kraus; Perl > Subject: RE: Where is the new line coming from. > > > > I am reading in a text file that has input similar to this. > > date|data|data|data\n > > > > I then read the file in and using a while loop I chomp off > > the new

RE: Where is the new line coming from.

2003-01-16 Thread Dan Muey
> I am reading in a text file that has input similar to this. > date|data|data|data\n > > I then read the file in and using a while loop I chomp off > the new line. while (){ > chomp; > @line=split /\|/,$_; > $line[2]=~s/ //g; Do you mean $line[3] since that is the last one in the ar

Where is the new line coming from.

2003-01-16 Thread Paul Kraus
I am reading in a text file that has input similar to this. date|data|data|data\n I then read the file in and using a while loop I chomp off the new line. while (){ chomp; @line=split /\|/,$_; $line[2]=~s/ //g; print "$_" foreach (@line); last; $count++; last if ($count