...

/

Switch Statements: given, when, default

Switch Statements: given, when, default

Learn about switch statements in Perl.

We'll cover the following...

The given statement

Perl 5.10 introduced a new construct named given as a Perlish switch statement. ...