Help for this page

Select Code to Download


  1. or download this
    my $flip = 'vh';
    if( $flip =~/v|y/i ){ print "i only -> flip v|y\n"; }
    ...
    
    if( $flip =~/v|y/g ){ print "g only -> flip v|y\n"; }
    if( $flip =~/h|x/g ){ print "g only -> flip h|x\n"; }
    
  2. or download this
    i only -> flip v|y  (expected this)
    i only -> flip h|x  (expected this)
    ...
                        <--- didn't match h
    g only -> flip v|y   (expected this)
                        <---- didn't match h