more useful options | |
PerlMonks |
Re: Parsing a non-formatted record text fileby kennethk (Abbot) |
on Feb 16, 2009 at 15:40 UTC ( [id://744098]=note: print w/replies, xml ) | Need Help?? |
Is there anything in particular you're hoping to extract? A cursory look suggests a regex along the lines of /^System\:/ could be used to identify heads of records even if the machine name varies. Another choice might be to split records with 'System:' by setting $/ and work from there.
In Section
Seekers of Perl Wisdom
|
|