That's just the thing. I'm not using fields.pm. This code worked until I moved the function that does this sort from the main script to a module using
Exporter. At that point, I started getting the pseudo-hash error. I'm not even using inheritance at all (except for inheriting from
Exporter, but that shouldn't affect anything ... right?)