<div dir="ltr">Sure it's a great option but sometimes your business complexity demands not only database queries but remote sockets connection, complex iteration over result sets, doing some regex over the values, etc. Doing this kind of stuff with Perl feels a lot more comfortable.<div>
<br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Aug 20, 2013 at 7:53 AM, Alex Balashov <span dir="ltr"><<a href="mailto:abalashov@evaristesys.com" target="_blank">abalashov@evaristesys.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 08/20/2013 07:51 AM, Carlos Ruiz Díaz wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
There's also a Perl module that can be used to execute a Perl script<br>
containing your business logic.<br>
<br>
Sounds like you are doing lots of database queries and doing that from a<br>
C module will always be more difficult than using a DB abstraction layer<br>
that the one Perl provides.<br>
</blockquote>
<br></div>
... or just good old 'sqlops'.<br>
<br>
The appearance of 'sqlops'[1] effectively obviated the need for writing most modules of this type.<br>
<br>
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.<br>
<br>
-- Alex<br>
<br>
[1] And really, avp_db_query() before it, but sqlops is just more flexible.<div class="HOEnZb"><div class="h5"><br>
<br>
-- <br>
Alex Balashov - Principal<br>
Evariste Systems LLC<br>
235 E Ponce de Leon Ave<br>
Suite 106<br>
Decatur, GA 30030<br>
United States<br>
Tel: <a href="tel:%2B1-678-954-0670" value="+16789540670" target="_blank">+1-678-954-0670</a><br>
Web: <a href="http://www.evaristesys.com/" target="_blank">http://www.evaristesys.com/</a>, <a href="http://www.alexbalashov.com/" target="_blank">http://www.alexbalashov.com/</a><br>
<br>
______________________________<u></u>_________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/<u></u>cgi-bin/mailman/listinfo/sr-<u></u>users</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Carlos<div><a href="http://caruizdiaz.com" target="_blank">http://caruizdiaz.com</a></div><div>+595981146623</div>
</div>