The Perl module Package::Constants lists all the constants defined in a Perl package. This can be useful for, among others, setting up an autogenerated @EXPORT/@EXPORT_OK for a Constants.pm file.