in reply to Clean way to export all constants at once

I know this is an old post but Package::Constants is a core module now so our @EXPORT_OK = Package::Constants->list(__PACKAGE__); will do what you want as well.