develooper Front page | perl.perl5.porters | Postings from October 2007

BBC(Bleadperl Breaks CPAN) Today: SQL::Translator (0.08001)

Thread Next
From:
andreas.koenig.7os6VVqR
Date:
October 3, 2007 09:40
Subject:
BBC(Bleadperl Breaks CPAN) Today: SQL::Translator (0.08001)
Message ID:
87y7ekw47e.fsf@k75.linux.bogus
Hi Jess,

if you haven't yet seen previous BBC articles, the intent is to bring
the bleeding edge perl people together with those whose modules on
CPAN suffer from expected changes in the next version of perl. You may
not be amused by the fact that your module has an issue with
bleadperl, but chances are good that the problem can be resolved
before 5.10 comes out if only somebody chimes in to explain what's the
issue.

See the facts. Somehow your code triggers a different behaviour of
perl since patch 26487

    (http://public.activestate.com/cgi-bin/perlbrowse/p/26487)
    Change 26487 by nicholas@nicholas-saigo on 2005/12/26 12:31:01

        Rework constant.pm to take advantage of the space savings of proxy
        constant subroutines whenever it can.

which leads to a test failure:

    t/37-translator-graph......Can't locate object method "is_trivial_link" via package "GLOB" at /home/sand/.cpan/build/SQL-Translator-0.08001-oWjySe/blib/lib/SQL/Translator/Schema/Graph.pm line 46.
    # Looks like you planned 3 tests but only ran 2.
    # Looks like your test died just after 2.
    dubious
            Test returned status 255 (wstat 65280, 0xff00)
    DIED. FAILED test 3
            Failed 1/3 tests, 66.67% okay

I had no success when I tried to reduce the bug to a small testcase,
sorry.

Maybe Nicholas will follow up with an explanation what is happening?

Hope this helps,
-- 
andreas
(hoping that this is the last BBC article before 5.10 comes out)

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About