deal with new accessors from modern perls