Help for this page

Select Code to Download


  1. or download this
    if ($param eq 'this' || $param eq 'that' 
        || $param eq 'the other') {
      ...
    }
    
  2. or download this
    if ($param eq any('this', 'that', 'the other') {
      ...
    }
    
  3. or download this
    $result = any(1,2,3) * 2;
    if ($result == 4) {...}
    
  4. or download this
    $ /usr/bin/perl ./benchmark.pl 
    all: numeric (few)
    ...
                             Rate Quantum-Superpositions               Jun
    +ction
    Quantum-Superpositions  317/s                     --                  
    + -95%
    Junction               6422/s                  1928%                  
    +   --
    
  5. or download this
    #!/usr/bin/perl
    use strict;
    ...
        1 if any('a'..'z') eq 'z';
      },
    });