Help for this page

Select Code to Download


  1. or download this
    if (sysopen(TRIGGERFILE, "$config->{xmlpath}trigfile.tf", O_WRONLY | O
    +_EXCL | O_CREAT)) {
     if (flock (TRIGGERFILE, LOCK_EX | LOCK_NB)) {
      print TRIGGERFILE "\n";
    ...
    } else {
     push (@errors, qq(<p class="message">error message</p>));
    }