Message-ID: <
47D73DA3.8050300@perltraining.com.au>
p4raw-id: //depot/perl@33488
given($foo) {
when (/x/) { say '$foo contains an x'; continue }
when (/y/) { say '$foo contains a y' }
- default { say '$foo contains neither an x nor a y' }
+ default { say '$foo does not contain a y' }
}
=head3 Switching in a loop