Read a single line in a file.
- From: umesh.perl@xxxxxxxxx (Umesh T G)
- Date: Fri, 29 Jul 2005 15:47:04 +0530
Hello List,
I have a file with multiple lines. I want to read only the first line.
and a particular word in that line.
For eg:
File.txt
apple,grape,orange,banana
some other lines
continued.
So I want only the word grape here. How to get it?
.
- Prev by Date: Re: regex puzzle
- Next by Date: Re: need solution for writing a perl script
- Previous by thread: Want code to display date in different timezone
- Next by thread: RE: Read a single line in a file.
- Index(es):