The following module was proposed for inclusion in the Module List: modid: DBIx::Pg::CallFunction DSLIP: cdpOo description: Interface for calling Pg-functions from Perl userid: JOELJAC (Joel Jacobson) chapterid: 7 (Database_Interfaces) communities: https://github.com/joelonsql/dbix-pg-callfunction
similar: DBIx::ProcedureCall rationale: DBIx::ProcedureCall does not work with named parameters for PostgreSQL. It also exports the database functions to your namespace and requires you to list them explicitly when using the module. DBIx::Pg::CallFunction works only for functions with named parameters (=named input arguments), and only supports PostgreSQL. The module does not export anything. It uses AUTOLOAD which allows you to dynamically call any database function in run-time without the need to specify them in the source code. I'm also planning to write another module, which will make use of DBIx::Pg::CallFunction and JSON::RPC::Simple to construct a JSON-RPC -> PostgreSQL bridge, allowing exposing your database functions to browsers via JQuery/Javascript or anything capable of communicating with a JSON-RPC API. enteredby: JOELJAC (Joel Jacobson) enteredon: Wed May 30 10:45:17 2012 GMT The resulting entry would be: DBIx::Pg:: ::CallFunction cdpOo Interface for calling Pg-functions from Perl JOELJAC Thanks for registering, -- The PAUSE PS: The following links are only valid for module list maintainers: Registration form with editing capabilities: https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=cfa00000_def5313d03c5614b&SUBMIT_pause99_add_mod_preview=1 Immediate (one click) registration: https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=cfa00000_def5313d03c5614b&SUBMIT_pause99_add_mod_insertit=1 Peek at the current permissions: https://pause.perl.org/pause/authenquery?pause99_peek_perms_by=me&pause99_peek_perms_query=DBIx%3A%3APg%3A%3ACallFunction