Help for this page

Select Code to Download


  1. or download this
    my $filepath = 'foo.txt';
    open my $FOOFILE, '>>', $filepath or die "Couldn't open $filepath \n";
    ...
            }
    
        }
    
  2. or download this
    sub do_other_stuff {
    
    ...
        }
        close $FOOFILE;
    }