update for Moose 2.1204 deprecation of enum using list and not listref