in reply to TIEARRAY example out of date?
Your variables $F_OFFSETS and $F_FILEHANDLE are not yet defined, when you call tie with your class. You can wrap your class definition by a BEGIN block and the example works as expected.