[Bioperl-l] urgent help with AcePerl

badr al-daihani aldaihani at hotmail.co.uk
Sat Feb 5 11:39:21 EST 2005


hi

I'm using AcePerl-1.87.

best regards
>From: Todd Harris <harris at cshl.edu>
>To: Paulo Almeida <palmeida at igc.gulbenkian.pt>,   badr al-daihani 
><aldaihani at hotmail.co.uk>
>CC: bioperl-l at bioperl.org
>Subject: Re: [Bioperl-l] urgent help with AcePerl
>Date: Sat, 05 Feb 2005 08:52:44 -0700
>
>Badr -
>
>Which version of AcePerl are you running?  I believe newer versions use
>sockets instead of RPC - perhaps the PPM is out-of-date as Paulo suggests.
>
>You might also try building Aceperl from source which gives you the option
>of building for rpc, sockets, or both.
>
>Todd
>
>
> > On 2/4/05 6:07 PM, Paulo Almeida wrote:
>
> > I don't know anything about Perl on Windows, but maybe that ppm only
> > installs the Ace module, and not Ace::RPC? I wouldn't know where to look
> > though. Can you see if there are Ace sub-modules in the place where you
> > got Ace?
> >
> > -Paulo
> >
> >> Hi
> >> I'm working in windows environment. I use ppm to install AcePerl. 
>however
> >> when I run the following perl program I get an error says:
> >> Module Ace::RPC not loaded: Can't locate Ace/RPC.pm in @INC <@INC
> >> contains:
> >> C:/Perl/lib  c:/Perl/site/lib .) at (eval 2) line 3.
> >>
> >>
> >> I appreciate your help in advance
> >>
> >> best regards
> >>
> >>
> >> the program
> >> #!/usr/local/bin/perl
> >> # This example will pull some information on various authors
> >> # from the C. Elegans ACEDB.
> >>
> >> use Ace;
> >> use strict vars;
> >>
> >> use constant HOST => $ENV{ACEDB_HOST} || 'beta.crbm.cnrs-mop.fr';
> >> use constant PORT => $ENV{ACEDB_PORT} || 20000100;
> >> $|=1;
> >>
> >> print "Opening the database....";
> >> my $db = Ace->connect(-host=>HOST,-port=>PORT)
> >>          || die "Connection failure: ",Ace->error;
> >> print "done.\n\n";
> >>
> >> my @authors = $db->fetch('Author','S*');
> >> print "There are ",scalar(@authors)," Author objects starting with the
> >> letter \"S\".\n",
> >>       "The first one's name is ",$authors[0],"\n",
> >>       "His mailing address is ",join(',',$authors[0]->Mail),"\n\n";
> >>
> >> my @papers = $authors[0]->Paper;
> >> print "He has published ",scalar(@papers)," papers.\n\n";
> >>
> >> my $paper = $papers[$#papers]->fetch;
> >> print "The title of his most recent paper is ",$paper->Title,"\n",
> >>       "The coauthors were ",join(", ",$paper->Author),"\n\n",
> >>       "Here is all the information on the first coauthor:\n",
> >>       (($paper->Author)[0]->fetch->asString);
> >
> >
> > _______________________________________________
> > Bioperl-l mailing list
> > Bioperl-l at portal.open-bio.org
> > http://portal.open-bio.org/mailman/listinfo/bioperl-l
> >
>
>_______________________________________________
>Bioperl-l mailing list
>Bioperl-l at portal.open-bio.org
>http://portal.open-bio.org/mailman/listinfo/bioperl-l

_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger today! 
http://www.msn.co.uk/messenger



More information about the Bioperl-l mailing list