MrDudeMan
Lifer
here is my algorithm:
call perl script - pass it 2 files to do some work on (i.e. perl_prog file1 file2)
call C program and pass it file1 to do some work on
C file creates an output file, file3, based on file1
compare file2 and file3
...if different return 1 else return 0
i am new at perl and i cant figure out how to pass in files from the command line and then pass them to a C program.
can anyone give me a boost?
call perl script - pass it 2 files to do some work on (i.e. perl_prog file1 file2)
call C program and pass it file1 to do some work on
C file creates an output file, file3, based on file1
compare file2 and file3
...if different return 1 else return 0
i am new at perl and i cant figure out how to pass in files from the command line and then pass them to a C program.
can anyone give me a boost?