Catman...pidList(3pm)

🌸 Catman...pidList(3pm) 🌸

okay so bestie, you found a tiny one β€” this is Catmandu::FedoraCommons::Model::pidList, page 3pm of the User Contributed Perl Documentation (that's the manual name, she lives in section 3pm with the rest of the Perl module girls). It's a Perl model for the Fedora getNextPID REST call. Short, sweet, does exactly one thing. πŸ’…


✨ NAME ✨

Catmandu::FedoraCommons::Model::pidList β€” a Perl model for the Fedora getNextPID REST call. periodt.


πŸ¦‹ SYNOPSIS πŸ¦‹

the whole vibe, verbatim, no edits, i would never:

use Catmandu::FedoraCommons;

my $fedora = Catmandu::FedoraCommons->new('http://localhost:8080/fedora','fedoraAdmin','fedoraAdmin');

my $obj = $fedora->getNextPID()->parse_content;

[
  'changeme:102'
]

so you spin up a Catmandu::FedoraCommons pointing at http://localhost:8080/fedora with fedoraAdmin and fedoraAdmin as the credentials, call getNextPID() on it, run parse_content on the result, and what you're looking at is an arrayref holding 'changeme:102'. that's the whole thing, she's done, she ate πŸ”₯


πŸ‘‘ SEE ALSO πŸ‘‘

  • Catmandu::FedoraCommons β€” go here next, bestie, this is the module that actually does the heavy lifting πŸ’–

fr fr, that's the entire page. no options, no flags, no exit statuses, no bugs section. a minimalist icon. πŸŽ€

perl v5.36.0 🌈 2023-02-05 β€” that's the version and date on the tin, so if you're reading this way after february 2023, vibe check your perl install, ily, bye 🫢✨

πŸ“¦ where this page comes from