The Perl Advent Calendar needs more articles for 2022. Submit your idea today!
{
   "abstract" : "A switch statement for Perl, do not use if you can use given/when",
   "author" : [
      "Damian Conway",
      "Rafael Garcia-Suarez",
      "Alexandr Ciornii"
   ],
   "dynamic_config" : 1,
   "generated_by" : "ExtUtils::MakeMaker version 6.78, CPAN::Meta::Converter version 2.131490",
   "license" : [
      "perl_5"
   ],
   "meta-spec" : {
      "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
      "version" : "2"
   },
   "name" : "Switch",
   "no_index" : {
      "directory" : [
         "t",
         "inc"
      ]
   },
   "prereqs" : {
      "build" : {
         "requires" : {
            "ExtUtils::MakeMaker" : "0"
         }
      },
      "configure" : {
         "requires" : {
            "ExtUtils::MakeMaker" : "0"
         }
      },
      "runtime" : {
         "requires" : {
            "Filter::Util::Call" : "0",
            "Text::Balanced" : "2",
            "if" : "0",
            "perl" : "5.005"
         }
      }
   },
   "release_status" : "stable",
   "resources" : {
      "repository" : {
         "url" : "http://github.com/chorny/Switch"
      }
   },
   "version" : "2.17"
}