|Syntactic Confectionery Delight|
Input record separatorby travisbickle34 (Beadle)
|on Mar 18, 2005 at 09:46 UTC||Need Help??|
travisbickle34 has asked for the wisdom of the Perl Monks concerning the following question:
I have an input file containing MANY records in this format:
I want to read them in from file one at a time, however setting the input record separator to '>' leads to problems i.e. The first record is read in as '>' and the second record is read in as:
Can you suggest a way around this?
For example is it possible to set the input record separator to a newline ONLY when followed by a '>'? In this case the separator should not actually include the '>'.
Your help would be sincerely appreciated.