dkhalfe has asked for the wisdom of the Perl Monks concerning the following question:
First off, I dont have any code to support this and am asking for an explanation as how to go about this procedure. I have a tab delim file containing the following data:
Basically, in the beginning of the program, I need to read in this filter file, sort through the order column and order from least to greatest, somehow store each value in a variable (to be later used in the program). Then the program will read in an input file which will be processed based on the criteria defined in the filter file. Ex. the program will first read in the filter file. For column a (order #1) the user wants the program to filter through that specific column for values less than or eq to 0.3. Then the program will move on to order #2. Then the program will move on to order #3 but for this specific column, will search for anything that eq 'abc' and append it to the output file. I have written the code to filter through any specified column but do not know how to store the values of the filter file in such a way that it can be used in the program. Thank you in advance for any help. If I need to clear anything up just let me know.column relationship value filter_or_append order a <= 0.3 filter 1 b = abc append 3 c <= 0.3 filter 2
|
|---|