Re: how to skip new line character

2004-09-09 Thread Bee
open F, "file.txt"; my @file = ; chomp @file; print "@file"; Is that what you want ? - Original Message - From: "Anish Kumar K." <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 09, 2004 2:41 PM Subject: how to skip new lin

Fwd: how to skip new line character

2004-09-08 Thread David le Blanc
-- Forwarded message -- From: David le Blanc <[EMAIL PROTECTED]> Date: Thu, 9 Sep 2004 16:54:56 +1000 Subject: Re: how to skip new line character To: "Anish Kumar K." <[EMAIL PROTECTED]> Is the problem either 1) Remove the end of line character from all line

how to skip new line character

2004-09-08 Thread Anish Kumar K.
Hi All As a beginner in PERL, I wrote a small program which reads data from the file and stores in an array. In that process i wanted to skip the new line character... for ex: In my program say "a.txt" contains man pan tan In the program open INPUT,"a.txt" or die $!; my @file = ; when I pri