in reply to Defining hash structure
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Defining hash structure
by mtx (Initiate) on Aug 25, 2014 at 09:13 UTC | |
by pme (Monsignor) on Aug 25, 2014 at 09:55 UTC | |
by mtx (Initiate) on Aug 25, 2014 at 11:03 UTC | |
by Anonymous Monk on Aug 25, 2014 at 09:30 UTC |