LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Perl / MySQL oddity

[ILUG] Perl / MySQL oddity

Fergal Daly fergal at esatclear.ie
Mon Apr 24 14:55:05 IST 2000


That data structure gets interpreted further on down, all those lines like 
the quote one get dynamically installed as methods in the DBI class I 
think. There's also DynLoader stuff going on which means XS and quote 
probably get mapped directly to mysql_escape_string() in the mysql library 
hence the lack of debugability. Still no idea what's going on though,

Fergal

At 01:39 24/04/00, Niall wrote:
>It's annoying the hell out of me, I can tell you. Particularly when I start
>to look into DBI.pm. I've been using Perl for a few years now, quite
>successfully, as in what I do works and I get paid for it, but I look at the
>innards of DBI.pm and I realise that I haven't got a clue what's going on in
>there :-( I tried to use the debugger to singlestep into the call to
>DBI->quote but it acts as if I pressed n rather than s. Does this mean that
>DBI->quote is not a perl subroutine at all ? Why ? If I fire up emacs on my
>copy of DBI.pm and remove the quote subroutine from it completely, calling
>DBI->quote still works fine. Why ? I imagine it's because quote is
>overridden somewhere, but I'm fscked if I can find where. (I suspect the
>answers to these two whys are closely related). To remove quote, I need to
>remove the line
>
>
>quote           => { U =>[2,3, '$string [, $data_type ]' ], O=>0x30 }
>
>in the Database Session Class Interface. What on earth does this line mean ?
>I've a horrible feeling that I'm dipping my toes into the XS waters here,
>and that a stonking great crab is going to bite on them soon :-)
>
>
>Yours in bemusement,
>
>
>Niall
>
>--
>Irish Linux Users' Group: ilug at linux.ie
>http://www.linux.ie/mailman/listinfo/ilug for (un)subscription information.
>List maintainer: listmaster at linux.ie






More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell