Help for this page

Select Code to Download


  1. or download this
    sub writeFile {
    open(FILE, ">$_[0]") || return ($!);
    ...
    close(FILE);
    return 0;
    }
    
  2. or download this
    &writeFile("file.txt", @file);