Help for this page

Select Code to Download


  1. or download this
    if ($number4 == 1,2) {
    
  2. or download this
    print "Yes!\n" if ( 1 == 2, 3 );
    
  3. or download this
    if( grep { $number4 == $_ } 1, 2 ) {...
    
  4. or download this
    if( $number4 == 1 || $number4 == 2 ) { ...
    
  5. or download this
    use List::Util 'any';
    # .........
    if( any { $number4 == $_ } 1, 2 ) {...