split file
- From: Babu <sarma.nedunuri@xxxxxxxxx>
- Date: Fri, 28 Dec 2007 21:01:31 -0800 (PST)
Hi,
I am new to perl.I have basic question about splitting a file into 2.
the input file= temp.hex
contents
4A
5F
C3
3D
is there a one liner to split this file into 2 files temp1.hex
containing
4A
5F
and temp2.hex having
C3
3D
Thanks in advance
SN
.
- Follow-Ups:
- Re: split file
- From: John W. Krahn
- Re: split file
- From: Jürgen Exner
- Re: split file
- Prev by Date: Re: Problem about type glob reference
- Next by Date: Re: split file
- Previous by thread: FAQ 5.8 How can I make a filehandle local to a subroutine? How do I pass filehandles between subroutines? How do I make an array of filehandles?
- Next by thread: Re: split file
- Index(es):
Relevant Pages
|