Help for this page

Select Code to Download


  1. or download this
    given fork {
      case $_ < 0 {
    ...
        #child
      }
    }
    
  2. or download this
    if ((my $pid = fork()) < 0){
       #error
    ...
    } else {
       $child
    }
    
  3. or download this
    if (get_the_boundary_x() < the_user_provided_x()){
       draw_color("green");
    ...
    else {
       draw_color("red");
    }