Help for this page

Select Code to Download


  1. or download this
    if ( $sFunction =~ /test1/ ) {
        # ...
    ...
    if ( $sFunction =~ /test2/ ) {
        # ...
    }
    
  2. or download this
    if ( $sFunction =~ /test1/ || $sFunction =~ /test2/ ) {
        # ...
    ...
            # ...
        }
    }
    
  3. or download this
    if ( my ($num) = $sFunction =~ /test([12])/ ) {
        # ...
    ...
            # ...
        }
    }