in reply to Command line confusing me
The simplest would be to externally call them from within your program, using backticks or similar - something like this...
Alternatively, you could look into including the scripts in your source. Any modules should be easily importable with the 'use' statement, and it should be a simple task to replace command line parameters with passed-in parameters...something like this...my $munged_data = `analysis_program $data`;
HTH#Old Code my $data = $ARGV[0]; do_stuff($data); #New Code package Munger; sub munge_data { my $data = shift(); do_stuff($data); } 1;
|
|---|