in reply to Re^4: Bug in Sort::Fields?
in thread Split(), Initial Spaces, & a limit?

Yes, I agree with you that the key cannot vary by row.

Then don't pass such data to Sort::Fields.

are you agreeing with me that this is a bug in that module?

Most definitely not. It's sorting using the specified field as the key. It's not its fault you didn't put the key in that field.