Help for this page

Select Code to Download


  1. or download this
    use feature qw(say switch);
    
    my $data = 1;
    ...
        when (2) { two: say 'two' ;      }
        default  { say 'something else'; }
    }
    
  2. or download this
    one
    panic: goto at /tmp/test line 5.