Help for this page

Select Code to Download


  1. or download this
    switch ( $foo ) {
        case ( ($foo ~= tr/I/I/) == 1 ) { $bar = 'low' }
    ...
        case ( ($foo ~= tr/I/I/) == 3 ) { $bar = 'high' }
        else { $bar = "drat" }
    }
    
  2. or download this