On 08/20/2013 07:51 AM, Carlos Ruiz Díaz wrote:
There's also a Perl module that can be used to execute a Perl script containing your business logic.
Sounds like you are doing lots of database queries and doing that from a C module will always be more difficult than using a DB abstraction layer that the one Perl provides.
... or just good old 'sqlops'.
The appearance of 'sqlops'[1] effectively obviated the need for writing most modules of this type.
The case for modules remains only in cases where you need novel capabilities in script. Novel database interactions can be had via 'sqlops' because it is generic and flexible.
-- Alex
[1] And really, avp_db_query() before it, but sqlops is just more flexible.