OneDreamCloser has asked for the wisdom of the Perl Monks concerning the following question:

hello perlmonks, i am asking for your wisdom using the eXist database, and what i am wondering is: how can i see that my call
my $eXist = XML::eXistDB::RPC->new( destination=>$eXist_db, repository +=>$bank, user=>"admin", password=>"pass" ) ;
is successful or not ? i have tried
isa_ok($eXist, "XML::eXistDB::RPC") ;
but no dice :( thank you

Replies are listed 'Best First'.
Re: established connection to eXist. how to know ?
by Anonymous Monk on Apr 30, 2011 at 09:24 UTC
    but no dice :( thank you

    "no dice" is another form of "doesn't work", which isn't sufficiently diagnostic :) see How do I post a question effectively?

    for my $Ref ( \(my$f), [], {}, ){ print $Ref, "\n"; bless $Ref, "XML::eXistDB::RPC"; print "\t", ref $Ref, "\n"; } __END__ SCALAR(0x9ba3ec) XML::eXistDB::RPC ARRAY(0x3f8ba4) XML::eXistDB::RPC HASH(0x9b9dec) XML::eXistDB::RPC
      thank you :)