List:Internals« Previous MessageNext Message »
From:Russell E Glaue Date:April 9 2001 1:28pm
Subject:Re: Perl + Mysql
View as plain text  
You mean we'll then have an embeded PERL language in MySQL just like the
PL/SQL language is embeded in Oracle?
This sounds so great!  I can't believe it hasn't though of before.
-RG

+------------------------------------------------------------------+
 Russell E Glaue, Technologies Engineer & Integrator  russ@stripped
 Center for the Application of Information Technologies
 WIU, 101 Horrabin Hall, 1 University Circle, Macomb, IL 61455
 http://www.cait.org

On Fri, 30 Mar 2001, Dana Prescott Kennedy Powers wrote:

> Ive been working for a while on embedding perl in the mysql server, and
> Im wondering how interested anyone is in formalizing the code and
> potentially merging it with the main codebase. Ive added a --with-perl
> extention to configure which creates a unique perl interpreter space for
> each connection. I added a function which will eval a perl expression
> using extra arguments as stack values ( ie. select
> perl('reverse($_[0]);', table1.column1); ). I have convinced myself that
> creating a perl extention ( similar to mod_perl's relationship to
> mysql ) is possible - Ive done it ;) - and can be done in a clean and
> stable way.
> 
> More dramatic things which I havent implemented:
> Extention to CREATE FUNCTION which will load perl scripts instead of
> dynamic libraries.
> Extention to CREATE FUNCTION which allows inline function definition and
> storage.
> Mysql Connection API module which would allow perl to create new
> connections and issue queries with them ( ? )
> A more extensible embedded interpreter api ( perhaps for python or
> javascript etc ).
> 
> I was a very active participant on the mysql mailing lists about a year
> ago, and I recall someone sending a lone message about wanting to try
> something like this - it actually prompted me to try it. Anyway, im not
> sure if this has been done or discussed, but let me know what you guys
> think.
> As usual the benefit of perl is not necessarily speed of code, but speed
> of coding.
> 
> dpk
> 
> 
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
> 
> To request this thread, e-mail internals-thread653@stripped
> To unsubscribe, e-mail <internals-unsubscribe@stripped>
> 
> 

Thread
Perl + MysqlDana Prescott Kennedy Powers30 Mar
  • Re: Perl + Mysqlbarries30 Mar
    • Re: Perl + Mysqlbarries30 Mar
  • Perl + MysqlMichael Widenius31 Mar
  • Re: Perl + MysqlDana Prescott Kennedy Powers2 Apr
    • Re: Perl + MysqlMichael Widenius2 Apr
  • Re: Perl + MysqlRussell E Glaue9 Apr
    • Re: Perl + MysqlDana Prescott Kennedy Powers10 Apr
      • Re: Perl + MysqlCristian Giussani10 Apr
      • Re: Perl + MysqlRussell E Glaue10 Apr
        • Re: Perl + MysqlDana Prescott Kennedy Powers10 Apr
  • Re: Perl + MysqlRussell E Glaue20 Jun
    • Re: Perl + MysqlDana Powers21 Jun
      • Re: Perl + Mysqlbarries22 Jun
        • Re: Perl + MysqlRussell E Glaue22 Jun
          • Re: Perl + Mysqlbarries22 Jun
            • Re: Perl + MysqlSasha Pachev23 Jun
              • MySQL SNMPRussell E Glaue23 Jun
                • Re: MySQL SNMPSasha Pachev24 Jun
        • Re: Perl + MysqlDana Powers27 Aug
    • Re: Perl + MysqlSinisa Milivojevic22 Jun