🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by "H.Merijn Brand" via dbi-dev Tue, 12 Aug 2025 10:55
[perl5-dbi/dbi] 243b57: Remove "perl_" prefix from "perl_require_pv"
#1
Author: "H.Merijn Brand" via dbi-dev
Date: Tue, 12 Aug 2025 10:55
77 lines
6441 bytes
  Branch: refs/heads/master
  Home:   https://github.com/perl5-dbi/dbi
  Commit: 243b574bcb0da431b283f5109582ba70f9d244d2
      https://github.com/perl5-dbi/dbi/commit/243b574bcb0da431b283f5109582ba70f9d244d2
  Author: James Raspass <jraspass@gmail.com>
  Date:   2025-08-12 (Tue, 12 Aug 2025)

  Changed paths:
    M DBI.xs

  Log Message:
  -----------
  Remove "perl_" prefix from "perl_require_pv"

As per the docs, the perl_require_pv form is deprecated.

Note I think the second of these calls is actually a bug since
profile_class is a package name with colons, not a filename with
slashes. We're not currently checking ERRSV after this call so it's
probably silently failing. But such a fix is out of scope of this
commit.

Also it's probably worth moving to load_module instead as per the docs:

  It is analogous to the Perl code eval "require '$file'". It's even
  implemented that way; consider using load_module instead.


  Commit: 58127fa72ac400e7e65cbbf9b390da199ba03cc7
      https://github.com/perl5-dbi/dbi/commit/58127fa72ac400e7e65cbbf9b390da199ba03cc7
  Author: James Raspass <jraspass@gmail.com>
  Date:   2025-08-12 (Tue, 12 Aug 2025)

  Changed paths:
    M DBI.xs

  Log Message:
  -----------
  Use mPUSH macros to replace sv_2mortal

Also use an XPUSH macro to replace as explicit EXTEND.


  Commit: ef97f356c37506e098c6aa6571c9be824ac53b54
      https://github.com/perl5-dbi/dbi/commit/ef97f356c37506e098c6aa6571c9be824ac53b54
  Author: James Raspass <jraspass@gmail.com>
  Date:   2025-08-12 (Tue, 12 Aug 2025)

  Changed paths:
    M DBI.xs

  Log Message:
  -----------
  Use -s macros with literals to avoid magic numbers

Note hv_stores also drops the trailing hash param from its hv_store
counterpart as the hash is computed automatically at compile time.


  Commit: 276888a5fdd43d3aa96865a7f30eb37323e6d144
      https://github.com/perl5-dbi/dbi/commit/276888a5fdd43d3aa96865a7f30eb37323e6d144
  Author: H.Merijn Brand <perl5@tux.freedom.nl>
  Date:   2025-08-12 (Tue, 12 Aug 2025)

  Changed paths:
    M DBI.xs

  Log Message:
  -----------
  Merge pull request #122 from JRaspass/master

Minor XS simplifications


Compare: https://github.com/perl5-dbi/dbi/compare/629bb67b6178...276888a5fdd4

To unsubscribe from these emails, change your notification settings at https://github.com/perl5-dbi/dbi/settings/notifications
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads