Help for this page

Select Code to Download


  1. or download this
                       @args = ("command", "arg1", "arg2");
                       system(@args) == 0
    ...
                       else {
                           printf "child exited with value %d\n", $? >> 8;
                       }
    
  2. or download this
    #!/usr/bin/perl
    
    ...
    
      return $error ;
    }
    
  3. or download this
        $ret = check_cmd(cmd      => [$config{cvs_command},'login'],
                         onerror  => 'none',
    ...
        unless ($ret == 0) {
          # do something...
        }