Help for this page

Select Code to Download


  1. or download this
    open (READ, "/home/main/sub/oldfiles/$file") or die "could not open /home/main/sub/oldfiles/$file $!";
  2. or download this
    open (READ, "../sub/oldfiles/$file") or die "could not open ../sub/oldfiles/$file $!";
  3. or download this
    open (READ, ">/home/main/sub/newfiles/$file") or die "could not open /
    +home/main/sub/newfiles/$file $!";
    
  4. or download this
    chdir "/home/main/sub/newfiles";
    open (WRITE,">$file") or die "could not open $file $!";
    # write stuff
    chdir "/home/main/cgi-bin";