Help for this page

Select Code to Download


  1. or download this
    foreach $table (@tables) {
        chomp $table;
    ...
    
    EOT
    }
    
  2. or download this
    open (INFILE, "< $infile") or die "Couldn't open $infile: $!";
    open (OUTFILE, "> $outfile") or die "Couldn't open $outfile: $!";
    
    ...
    
    close (INFILE);
    close (OUTFILE);
    
  3. or download this
    foreach $table (@tables) {
        print OUTFILE (map "$_\n",
            "BEGIN",
    ...
            "/\n",
        );
    }