[InterMine Dev] Perl API printing output
alex at flymine.org
Thu Sep 15 15:34:13 BST 2011
The output file can be specified directly in the Perl processing code:
my $document = InterMine::Item::Document->new(
model => $model,
output => $out_file
Then when you call "$document->write" the named file will be written.
There is documentation for these Perl modules at:
I hope this answers your questions,
On Wed, 2011-09-14 at 16:10 -0400, JD Wong wrote:
> Is there a way to get a program written in the intermine perl api to
> write the items output to a file rather than printed to the output of
> the terminal that ran it. Looking through the documentation there
> doesn't seem like an obvious way.
> Thanks in advance!
> dev mailing list
> dev at intermine.org
Cambridge Systems Biology Centre
Tennis Court Road - CB2 1QR
University of Cambridge
ajk59 at cam.ac.uk
More information about the dev