Help for this page

Select Code to Download


  1. or download this
    sub generate_post 
    {
    ...
            #need to restore STDOUT(!?)
            close(STDOUT);
            open(STDOUT, ">&", SAVE_OUT);
    
  2. or download this
    Name "main::SAVE_OUT" used only once: possible typo at ./part2.pl line
    + 332 (#1)
        (W once) Typographical errors often show up as unique variable nam
    +es.
    ...
        %c, *c, &c, sub c{}, c(), and c (the filehandle or format) are con
    +sidered
        the same; if a program uses $c only once but also uses any of the 
    +others it
        will not trigger this warning.