NAME Odoo::Database::Manager - database management for Odoo (EXPERIMENTAL) DESCRIPTION Create and drop Odoo databases from your Perl scripts SYNOPSIS use v5.20; use Odoo::Database::Manager; my $dbman = Odoo::Database::Manager->new( url => 'http://localhost:8069', password => 'manager_admin_password'); say "Current databases:"; say for $dbman->list_databases; say "Creating new database foo:"; $dbman->createdb(dbname => 'foo', lang => 'en_GB', admin_password => 'admin'); say "Dropping foo again:"; $dbman->dropdb('foo'); STATUS EXPERIMENTAL METHODS list_databases Return list of Odoo databases. my @dbs = $dbman->list_databases; createdb Create a database. No meaningful return value as yet. $dbman->createdb(dbname => 'my_db', lang => 'en_GB', admin_password => 'password'); dropdb Drop the database. No meaningful return value as yet. $dbman->dropdb('my_db'); COPYRIGHT AND LICENSE Copyright (C) 2016 Nick Booker This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License. See http://dev.perl.org/licenses/ for more information.