🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: perl.dbi.dev
Article #1

[perl5-dbi/dbi] 243b57: Remove "perl_" prefix from "perl_require_pv"

#1
From: "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
Technical Details
Message-ID: <perl5-dbi/dbi/push/refs/heads/master/629bb6-276888@github.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.pugleaf.net!ygg-lux.newsdeef.eu!lux-feed1.newsdeef.eu!srl.newsdeef.eu!weretis.net!feeder8.news.weretis.net!fu-berlin.de!bofh.it!nntp.perl.org

Show Full Headers
Complete Article Headers
Message-ID: <perl5-dbi/dbi/push/refs/heads/master/629bb6-276888@github.com>
Subject: [perl5-dbi/dbi] 243b57: Remove "perl_" prefix from "perl_require_pv"
Date: Tue, 12 Aug 2025 03:55:33 -0700
From: dbi-dev@perl.org ("H.Merijn Brand" via dbi-dev)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.pugleaf.net!ygg-lux.newsdeef.eu!lux-feed1.newsdeef.eu!srl.newsdeef.eu!weretis.net!feeder8.news.weretis.net!fu-berlin.de!bofh.it!nntp.perl.org
Newsgroups: perl.dbi.dev
Return-Path: <noreply@github.com>
Mailing-List: contact dbi-dev-help@perl.org; run by ezmlm
Delivered-To: mailing list dbi-dev@perl.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=perl.org; h=date
 :from:to:message-id:subject:mime-version:content-type
 :content-transfer-encoding:list-unsubscribe:reply-to; s=dr1; bh=
 sjqErEtPdyIsI3VmHMSlYzvMQxdcmR0x+y7pWnSL8hk=; b=kuSmlYkQPkVrHFqY
 FFk3TsVv0DGBJDilFx4m1js1CKdTAB/nqTZO27TFuEaOsMG1gfsO0VmD+F6147SZ
 i1BiYDD+QByrwDXLu18gyqMO5rlwvFAP6W+liRjpGVgXhK2TWEMqtdAsXOyPyT2r
 KzkS6kSAXOKcbslrzRV4g65B5osjqNfLlfXXyxpNfsuvvYB/XVY9cyq7d/rXay+A
 2Jh/XQH8Jqm3iHSYIV7vu5DmDxTcDc/gV6NgGoynCSollxqlH+5+MuZKgv3rcdXH
 7GzbWhNP8tN5E2J14nYF/i0RkmQ8vWD8RFGV5ifLJWS/gIVt2Ps73uWbF6Bo/Trd
 pwpXfw==
Received: (qmail 5230 invoked from network); 12 Aug 2025 10:55:36 -0000
Received: from xx1.develooper.com (147.75.38.233) by x6.develooper.com with
Received: from inbound-egress-7.mailchannels.net
 (inbound-egress-7.mailchannels.net [23.83.220.5]) by xx1.develooper.com
 (Postfix) with ESMTP id 1D6147C1A2 for <dbi-dev@perl.org>; Tue, 12 Aug 2025
ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1754996134; a=rsa-sha256;
 cv=none;
 b=f7xui0RVQtFSNwxmsJXnu+otablcSc7+z1gl5Gntokx0kX1oW7MK7Rac0JhpM1AcDb61Mr
 xAZnflA+0OYnj7N9cjag0ffGrBk+emez9F0sIP2hDtcBX6G8qoz91l5uyYFmRphSbIGuIr
 or6BuahJCfrRBIHxwHQADH7PtC/DGijFKbjQ4o5LRVOWEQ+z12dqMNNJfVTxW25C4vQIiS
 agpVD2KJimQ+QSh/VuM3eRtUxZ6D0ehgd1RHDEZqHiMZT5o5+xmYxCTTllPdJ+A/AmXbHb
 DvdBP8lg5CsIP6MNvGWSy15PnBJgKnJCXjA0hcMrIGht9fePAfm4HpJp7iNf5A==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed;
 d=mailchannels.net; s=arc-2022; t=1754996134;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:list-unsubscribe:
 dkim-signature; bh=sjqErEtPdyIsI3VmHMSlYzvMQxdcmR0x+y7pWnSL8hk=;
 b=4Z4GKa8r225BgsvK7LgU94FEz/uoL8UJ/kueXoOUxr39L+p8nlOejkiDDRWKaNkfo2A63d
 KpBBkxi8M7ZJ7M9Wz4hsPD+Uroftx1ws9DfPB6GcZ3ZUIjwvizBj6BDObJ7KBBnk4hzs0x
 f00QSQhh/BJCTJUN01S3IgRytgXYndnbPx7jE00cKUKP+c7RRKs3La+4LA2Oaae3VGWcmV
 jq2C90xuxJXrS4auSaU7XWsofLCCTge9COIWL/Mq14TkSMxfyJEgH0XkP8UOHF9T+6jxEc
 D4C8HEbrVvlXolBvMxcWaX1mUmpE1wcHk2p+SQj2qiZwHJGCeQ7wWRfdedIL9Q==
ARC-Authentication-Results: i=1; inbound-rspamd-5dd89468dd-d4ktz; none
X-Message-ID: pwubpdZ9o2gnDI9sccqdVth5
Received: from out-25.smtp.github.com (out-25.smtp.github.com
 [192.30.252.208]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by
Authentication-Results: inbound.mailchannels.net; spf=pass
 smtp.mailfrom=noreply@github.com; dkim=pass header.d=github.com; dmarc=pass
 (policy=reject; pct=100; status=pass); arc=none
Received-SPF: pass (dmarc-service-64b589f5ff-6gc2l: domain of github.com
 designates 192.30.252.208 as permitted sender) client-ip=192.30.252.208;
 envelope-from=noreply@github.com; helo=out-25.smtp.github.com;
Received: from github.com (hubbernetes-node-cf47cfc.ash1-iad.github.net
 [10.56.186.34]) by smtp.github.com (Postfix) with ESMTPA id B1CFA141097 for
To: dbi-dev@perl.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-GitHub-Recipient-Address: dbi-dev@perl.org
X-Auto-Response-Suppress: All
Original-From: "H.Merijn Brand" <noreply@github.com>
Reply-To: "H.Merijn Brand" <noreply@github.com>,
Approved: news@nntp.perl.org