logo       

Re: Anything outstanding for 2.15?: msg#00067

Subject: Re: Anything outstanding for 2.15?
Josh Rosenbaum wrote:
I believe this documentation needs to be removed from the DBI.pm plugin/docs now, correct?
-------------------
IMPORTANT NOTE: the XS Stash (Template::Stash::XS) does not currently support access to tied hashes.....
-------------------

Yes, although the DBI plugin will no longer be part of the core from 2.15 onwards. It'll be in a separate Template-DBI distribution. For now this will just contain the DBI plugin unless anyone else has a DBI related plugin, provider or other code they want to contribute.

In Plugins/Table.pm (cvs line 220):
------------------------
if ($item =~ /^data|size|nrows|ncols|overlap|pad$/) {

My guess is that this should be:
if ($item =~ /^(?:data|size|nrows|ncols|overlap|pad)$/) {
------------------------

Fixed, thanks.

For previous "pending" patches I'd still like to see the check for backrefs when doing search and replace as noted in our previous thread.

Done.  Like so:

        if ($replace =~ /\$\d+/) {
            # the slow way with backrefs
        }
        else {
            # the fast way without backrefs
        }
        return $text;

I opted for a simple \$\d+ regex to look for backrefs in the replacement string. Although it's not totally thorough in that it could inadvertently match against "\\$2", it'll still work correctly, albeit slower. I figured that was an acceptable trade-off for simplicity of code given that it's an uncommon edge case.

There was also a CHOMP patch being discussed I believe too.

That's done too.

Cheers
A


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
boot-loaders.gr...    php.pear.genera...    debugging.valgr...    kde.redhat.user...    text.xml.xsl.ge...    culture.languag...    hardware.microc...    java.servicemix...    redhat.release....    web.zope.plone....    user-groups.lin...    opendarwin.webk...    video.mjpeg.use...    sysutils.bcfg2....    encryption.gpg....    lx-office.devel...    xfree86.forum/2...    mail.mutt.devel...    acpi.devel/2003...    qnx.openqnx.dev...    network.irc.irs...    freebsd.devel.m...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe