Perl: how to validate successful call to "XML::eXistDB::RPC" -


i writing small perl app using exist database, , wondering is: how can see call

my $exist = xml::existdb::rpc->new( destination=>$exist_db, repository=>$bank, user=>"admin", password=>"pass" ) ; 

is successful or not ?

thanx

when object initialisation fails, messaged through log::report, hook that.

this happens if programmer neglected set either rpc or destination parameter. the new constructor return object instance.


Comments