Pinto::Server(3pm)
β¨ Pinto::Server β¨
okay bestie, so this is Pinto::Server β it's the web interface to a Pinto repository π like, your repo but make it β¨browsableβ¨. It lives in the User Contributed Perl Documentation section of the manual, so Pinto::Server(3pm), and yes we're gonna walk through the whole thing together, no skimming, no gatekeeping π«Ά
Version: version 0.14
πΈ ATTRIBUTES πΈ
rootβ the path to the root directory of your Pinto repository. Heads up: the repo has to already exist at that location, this isn't gonna conjure one for you. This attribute is required, so no skipping it πauthβ the hashref of authentication options, but only if you're actually doing authentication inside the server. One of the options must be'backend', which tells it whichAuthen::Simple::class to use. Every other key/value pair gets passed as-is straight to that Authen::Simple class. no vibes-checking in between, just straight through πrouterβ an object that does thePinto::Server::Handlerrole. This little icon is the one doing the actual work: processing the request and handing back a response. main character energy, fr fr πdefault_portβ returns the default port number that the server will listen on. and psst β this one is a class attribute, not a per-instance thing π
π« METHODS π«
π to_app()
Returns the application as a subroutine reference. that's it, that's the whole thing β¨
π call( $env )
Invokes the application with the specified environment. Returns a PSGI-compatible response π¦
There is nothing to see here. π
Look at pintod if you want to actually start the server. like, genuinely, that's the one you want, not this π
π AUTHOR π
Jeffrey Ryan Thalhammer <jeff@stratopan.com>
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2015 by Jeffrey Ryan Thalhammer.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. π
and that's the whole page, bestie, you ate it π this was perl v5.40.1, dated 2025-04-21, straight out of Pinto::Server(3pm) β go forth and serve those repos, mwah π
π
π¦ where this page comes from
- debian trixie: pinto 0.14000-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: pinto 0.14000-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms