in reply to Whats the status of DBIx::Class

Is the DBIx::Class project still alive ?

It's one of the modules that will be broken by perl-5.41.3 (which will be released in a few days from now).
There has been much discussion about how this will be resolved - especially in relation to DBIx::Class.

Cheers,
Rob

Replies are listed 'Best First'.
Re^2: Whats the status of DBIx::Class (Re^4: Whats the status of DBIx::Class (deprecated package separator / reading P5P)
by LanX (Saint) on Aug 24, 2024 at 14:14 UTC
    > There has been much discussion about how this will be resolved

    Is it possible to read the whole discussion in one page?

    I'd be interested to know if %INC hooks were suggested as work around and mean to identify broken import statements.

    Update

    In hindsight, there is no use for this, if the break happens at compile time and something like use don't is simply rejected with a fatal error.

    Anyway I couldn't find out since when this feature was deprecated, seems to be enforced without grace period.

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    see Wikisyntax for the Monastery

    UPDATES

    • 2024-08-25 15:23 GMT appended title
      Anyway I couldn't find out since when this feature was deprecated, seems to be enforced without grace period.

      I see the deprecation warning in 5.40.0 and 5.38.0 (but not 5.36.0 or earlier):
      D:\>perl -le "print $]; $don't = 1;" Old package separator "'" deprecated at -e line 1. 5.038000
      And, with warnings enabled:
      D:\>perl -wle "print $]; $don't = 1;" Old package separator "'" deprecated at -e line 1. Name "don::t" used only once: possible typo at -e line 1. 5.038000
      Cheers,
      Rob
        Thanks, I have a box with 5.38 and
        • use v5.36 was still emitting the warnings which couldn't be silenced
        • use v5.34 made it work like before
        so it seems the maintainers just need to introduce a use v5.34 or earlier (tho I couldn't test with v5.40)

        what I tried:

        $ cat t_package_sep.pl BEGIN { warn "Using Perl Version ", $], "\n";} use v5.34; no warnings 'deprecated::apostrophe_as_package_separator'; use diagnostics; use lib '.'; $don't = 1; use deprecated'apostrophe; $ cat deprecated/apostrophe.pm warn "Module ". __FILE__ ." loaded"; 1; $ perl t_package_sep.pl Using Perl Version 5.038002 Module deprecated/apostrophe.pm loaded at deprecated/apostrophe.pm lin +e 1.

        Cheers Rolf
        (addicted to the Perl Programming Language :)
        see Wikisyntax for the Monastery

        UPDATE
        hmm, strangely this is still producing the silenced warnings. Not sure if it's a bug or a documented feature regarding the deprecated:: category.

        use v5.34; use warnings; no warnings 'deprecated::apostrophe_as_package_separator';
        _
      There are some additional informed opinions here (reddit.com/r/perl)
        Thanks, but I was more interested in the deprecation of "'" than DBIc.

        I have an idea how to work around this, but clicking thru all P5P posts separately is a PITA.

        I really would appreciate having a whole thread view with all replies like in PM.

        Cheers Rolf
        (addicted to the Perl Programming Language :)
        see Wikisyntax for the Monastery

Re^2: Whats the status of DBIx::Class
by Anonymous Monk on Aug 24, 2024 at 12:40 UTC

    Ok, thank you for that information