laziness, impatience, and hubris | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
YES! Get text in, send text out. Doesn't matter what the language of the programs are!
As I mentioned above, it is possible for any of these languages to process a command line argument like "file name". But hearing about how much this file format will be "shuffled around", I even more strongly recommend the "filter" approach. Update: Another way to think about your input file, is that is a database. Well, what kind of operations can we do? 1) Transform it in some way by additions, deletions, or changes to existing records. 2) Make reports from it based upon some subset of the data, perhaps using some calculations from the data(or subset) and/or sorting of the data. All of these things can be done with the filter model.
Let's go through some simple tasks: We are beyond Perl here, but the way to set up something like I think you need is to have a bunch of little "filter" programs that can be combined and used in different orders. These programs are "stitched together" via a shell script, not with Perl. Each of these programs takes to the extent possible input from STDIN and output goes to STDOUT. In reply to Re^3: Data Transfer to Fortran
by Marshall
|
|