in reply to Beginner Question on splitting.
Using split() is probably not your best bet. Since your fields seem to be fixed width, you'll do better with unpack() or, perhaps, repeated calls to substr().
Addendum: For example, this
works on your sample data. You might need to clean up the variables to remove extra whitespace and such.my ($testnumber, $llimit, $value, $ulimit, $unit, $name) = unpack 'A9A12A12A10A8A*', $_;
-sauoq "My two cents aren't worth a dime.";
|
|---|