#!/usr/bin/perl use warnings; use strict; while (not eof) { my @lines = map scalar <>, 1 .. 58; # Process the record. }
Update: Simplified as per Re^2: Parsing a Formatted Text File. Thanks, the unnamed one.
In reply to Re: Parsing a Formatted Text File
by choroba
in thread Parsing a Formatted Text File
by Pharazon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |