Help for this page

Select Code to Download


  1. or download this
      if( $flag ) {
        $on = $value;
    ...
      else {
        $off = $value;
      }
    
  2. or download this
      ${$flag ? \$on : \$off} = $value;
    
  3. or download this
      $status{$flag ? 'on' : 'off'} = $value;