Help for this page

Select Code to Download


  1. or download this
    open(OLDOUT, ">&STDOUT");
    open(STDOUT, ">foo.out") || die "Can't redirect stdout";
    ...
    close(STDOUT);
    open(STDOUT, ">&OLDOUT");
    #here's is your starting state.
    
  2. or download this
    -- 
    Daniellek