You are viewing the version of this documentation from Perl 5.14.4. View the latest version
default BLOCK

Within a foreach or a given, a default BLOCK acts like a when that's always true. Only available after Perl 5.10, and only if the switch feature has been requested. See "when".