Help for this page

Select Code to Download


  1. or download this
    sub dumpResultsToFile {
        my ( $query ) = @_;
    ...
        # Close the output file
        close FILE or die "Error closing result file: $!\n";
    }
    
  2. or download this
    dumpResultsToFile ( <<"    END_SQL" );
        SELECT TADA.fileName, TADA.labelName
        FROM   TADA
        END_SQL