AcePerl: Insert data to AceDB

"신윤철" ycshin21 at bcline.com
Mon Dec 2 04:45:24 EST 2002


Hello..<br>
<br>
I am a begineer to aceperl and have a question..<br>
<br>
I'm trying to insert data into AceDB<br>
<br>
The Model is RiceGenes model and I'm trying to insert Author data into WorkDB..<br>
<br>
The model for Author is this;<br>
<Model Start><br>
?Author Full_name Text<br>
        Laboratory UNIQUE ?Laboratory XREF Staff<br>
        Old_lab ?Laboratory<br>
        Address Mail Text<br>
                E_mail Text<br>
                Phone Text<br>
                Fax   Text<br>
        Paper ?Paper<br>
        Sequence ?Sequence XREF From_author<br>
        Keyword ?Keyword<br>
<Model End><br>
<br>
But I've got problems..<br>
<br>
First, I wrote this script<br>
<Script Start><br>
#!/usr/local/bin/perl -w<br>
<br>
use Ace;<br>
<br>
$newdb = Ace->connect(-port => '200010');<br>
my $assembly = Ace::Object->new(tag=>'Paper');<br>
#$assembly->add('Paper'=>'Ahn-S-N-1992-825');<br>
#$assembly->add('Paper'=>'Ahn-S-N-1993-27');<br>
#$newdb->add_tree('Paper'=>$assembly);<br>
<br>
$newdb->commit ||warn $newdb->error;<br>
<Script End><br>
<br>
But I execute this script than the machine tells me "Can't locate auto/Ace/commit.al in @INC (@INC contains: /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .) at ./test.pl line 12"<br>
This message is always appear whenever I tried local machine or remote machine..<br>
<br>
Please tell me what is matter..<br>
<br>
Thanks for your help. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://iubio.bio.indiana.edu/bionet/mm/acedb/attachments/20021202/69fb6802/attachment.html


More information about the Acedb mailing list