in reply to Command line confusing me
Once you've installed the modules using Zaxo's advice, there are a couple of ways to interface to your data analysis scripts.
Ben.
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;
Ben.
In Section
Seekers of Perl Wisdom