Does the input actually contain the string "Press <space> to continue, <cr> to single step, ? for help", or is that just from your viewer program?
It looks like the input consists of fixed-width fields. Have a look at Parse::FixedLength, it may already do most of what you need. The classic approach is unpack with the A template. Otherwise, if the input contains variable-length records separated by a special character (such as tab), Text::CSV is the way to go.
In reply to Re: Defining hash structure
by Anonymous Monk
in thread Defining hash structure
by mtx
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |