CPAN::Admin(3)

πŸ“¦
version 2.38 Β· 4 versions
, in fedora 43

πŸ’– CPAN::Admin(3) πŸ’–

okay bestie, so this is a page from the User Contributed Perl Documentation and it's literally called CPAN::Admin β€” a whole CPAN shell made for the CPAN admins themselves. yes, the actual gatekeepers. πŸ‘‘


✨ NAME ✨

CPAN::Admin β€” A CPAN Shell for CPAN admins 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

perl -MCPAN::Admin -e shell

that's it. that's the whole vibe. πŸ’…


πŸ’€ STATUS πŸ’€

Note: this module is currently not maintained. 😭 If you need it and you fix it for your needs, please submit patches. be the change you want to see in the CPAN, fr fr. 🫢

🌸 DESCRIPTION 🌸

So CPAN::Admin is a subclass of CPAN (yes, it's giving nepo baby but in a good way ✨) and it adds two extra commands to the CPAN shell: register and modsearch.

πŸŽ€ register

register calls get on the named module, then assembles a couple of informations (description, language β€” the lil details, you know? πŸ’…), and then calls Netscape with the -remote argument. The whole point is so that a form gets filled with all the assembled informations, and the registration can be performed with a single click. main character energy honestly.

But wait, there's a plot twist 🫒 β€” if the command line has more than one argument, register does not run a get. Instead it interprets the rest of the line as DSLI status, description, and userid, and sends them to netscape so the form is again mostly filled and can be edited or confirmed with a single click. iconic behavior.

Important: CPAN::Admin never performs the submission click for you. It is only intended to fill in the form on PAUSE and leave the confirmation to you. no cap, the final click is yours and yours alone. πŸ’–

πŸ” modsearch

modsearch simply passes the arguments to the search engine for the modules@perl.org mailing list at <http://www.xray.mpe.mpg.de> β€” that's where all registration requests are stored. and it does it in the exact same way as register, namely with the netscape -remote command. consistent queen. πŸ‘‘

🌈 the experimental feature

An experimental feature has also been added β€” namely to color already registered modules in listings. So if you have Term::ANSIColor installed, the u, r, and m commands will show already registered modules in green. πŸ“ it's giving aesthetic and functional, we love to see it.


🧚 PREREQUISITES 🧚

  • URI::Escape
  • a browser available in the path
  • the browser must understand the -remote switch β€” and as far as I know, this is only available on UNIX 🐧
  • the coloring of registered modules is only available if Term::ANSIColor is installed ✨

πŸ‘‘ LICENSE πŸ‘‘

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. πŸ’œ


and that's the whole page bestie, no skips, no summaries, every single detail preserved like the precious artifact it is πŸ’…βœ¨

sign-off vibes: this lil doc came from perl v5.42.0 and it's dated 2025-07-25 β€” so if you're reading this, shoutout to that exact snapshot of the manual, mwah πŸ«ΆπŸŽ€

πŸ“¦ where this page comes from