From 1761611aa13d99628ce4e26aa41d243b536f25e8 Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Tue, 16 May 2023 11:20:01 +0000 Subject: the old "indirect method call" was deprecated recently (apart from mimicing perl base syntax on fh objects and the likes), so use the more consistent class->method calling method in examples (and in code) --- usr.sbin/pkg_add/OpenBSD/IdCache.pod | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'usr.sbin/pkg_add') diff --git a/usr.sbin/pkg_add/OpenBSD/IdCache.pod b/usr.sbin/pkg_add/OpenBSD/IdCache.pod index e024130f22b..dba9910ae32 100644 --- a/usr.sbin/pkg_add/OpenBSD/IdCache.pod +++ b/usr.sbin/pkg_add/OpenBSD/IdCache.pod @@ -1,4 +1,4 @@ -$OpenBSD: IdCache.pod,v 1.1 2020/12/20 15:30:58 daniel Exp $ +$OpenBSD: IdCache.pod,v 1.2 2023/05/16 11:20:00 espie Exp $ =head1 NAME @@ -8,16 +8,16 @@ OpenBSD::IdCache - cache for user and group look-ups use OpenBSD::IdCache; - my $ucache = new OpenBSD::UidCache; + my $ucache = OpenBSD::UidCache->new; my $uid = $ucache->lookup("espie"); - my $gcache = new OpenBSD::GidCache; + my $gcache = OpenBSD::GidCache->new; my $gid = $gcache->lookup("wheel", 0); - my $unamecache = new OpenBSD::UnameCache; + my $unamecache = OpenBSD::UnameCache->new; my $name = $unamecache->lookup($uid); - my $gnamecache = new OpenBSD::GnameCache; + my $gnamecache = OpenBSD::GnameCache->new; my $grname = $gnamecache->lookup($gid); =head1 DESCRIPTION -- cgit v1.2.3