Help for this page

Select Code to Download


  1. or download this
     my $x = 40;
    
    if ( $x ~~ [0..9] || $x ~~ [50..59] ) {
    ...
    } elsif ( $x ~~ [40..49] || $x ~~ [90..99] ) {
    print 4;
    }
    
  2. or download this
    
    my %tiers = (
    ...
    10..19 => 1,
    );