[MOBY] [MOBY-l] Moby::Client::Central.pm - default_MOBY_server or MOBY_server
Mark Wilkinson
markw at illuminae.com
Fri Feb 28 18:15:12 UTC 2003
Have you CVS updated recently? This is no longer the correct way to
create the MOBY::Client::Central object.
To connect to the default MOBY Central, pass no arguments at all. If
you want to connect to anything other than the default, then you pass a
hash of MOBY central's by name, along with their connection information:
my $C = MOBY::Client::Central->new(Registries => {
"myMOBY" => {
URL =>"http://localhost/cgi-bin/MOBY-Central.pl",
URI => "http://localhost/MOBY/Central"},
"yourMOBY" => {
URL => "http://yourhost/cgi-bin/MOBY-Central.pl",
URI => "http://yourhost/MOBY/Central"},
}
);
This allows you to browse several registries "transparently" (e.g. if
you have a local one behind a firewall that contains your private data).
In the non-default state, some calls to MOBY:Client::Central will
require that you specify the registry from which you are making the
call, since it wont be obvious anymore.
In any case, if you haven't updated your code, please do so. If you
have, please tell me where this incorrect information is and I will fix
it.
Mark
On Fri, 2003-02-28 at 12:04, Beatrice Schildknecht wrote:
> Hi,
> In the examples for the MOBY::Client::Central.pm, the MOBY central
> object is created like:
>
> my $C = MOBY::Client::Central->new(
> MOBY_server => 'http://localhost/cgi-bin/MOBY-Central.pl',
> MOBY_uri => 'http://localhost/MOBY/Central'
> );
>
> I've installed my own MOBY central, and I need to change the above
> option names to "default_MOBY_server" and "default_MOBY_uri"- otherwise
> it ignores the options. Which one (default_MOBY_server or MOBY_server)
> will be used in future?
>
> Beatrice
>
> _______________________________________________
> moby-l mailing list
> moby-l at biomoby.org
> http://biomoby.org/mailman/listinfo/moby-l
--
=======================================================================
|--==\
Mark Wilkinson, Ph.D. \==-|
Bioinformatics Consultant \=/ 0010010010100101110010
Illuminae Media /-\
727 6th Ave. N. /-==| 0010100100111101010010
Saskatoon, SK, Canada |==-/
S7K 2S8 \=/ 0100100100010010010101
+1 (306) 373 3841 /\
markw at illuminae.com /=-\ 1101001010100101010101
|--==\
=======================================================================
More information about the moby-l
mailing list