Re: newline...be gone

2003-10-08 Thread Joe Youngquist
8, 2003 3:08 PM Subject: newline...be gone > Greetings, > > I have a question that probably easy to many... > > How can I get rid of the newline at the end of $line > (which transfers to $remainder after splitting)? > > foreach $filename (@filelist) { > open(INPUT

RE: [SPAM] newline...be gone

2003-10-08 Thread Craig Cardimon
I would try: s/\n//g; This should replace every newline with nothing, globally. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Byrne Sent: Wednesday, October 08, 2003 4:09 PM To: [EMAIL PROTECTED] Subject: [SPAM] newline...be gone Greetings

RE: newline...be gone

2003-10-08 Thread Wagner, David --- Senior Programmer Analyst --- WGO
[EMAIL PROTECTED] wrote: > Subject: newline...be gone > > > Greetings, > > I have a question that probably easy to many... > > How can I get rid of the newline at the end of $line > (which transfers to $remainder after splitting)? If it is not off your sys

newline...be gone

2003-10-08 Thread David Byrne
Greetings, I have a question that probably easy to many... How can I get rid of the newline at the end of $line (which transfers to $remainder after splitting)? foreach $filename (@filelist) { open(INPUT,"$filename"); foreach $line () { chomp($line); my ($gene,$remainder) =