Crypt:...e::Proc(3pm)

πŸ’– Crypt::Random::Source::Base::Proc πŸ’–

okay so bestie, this is a page from the User Contributed Perl Documentation, and the manual is literally called Crypt::Random::Source::Base::Proc(3pm). yes it's a mouthful, no we're not renaming it, it's iconic like that. πŸ’…


✨ NAME ✨

Crypt::Random::Source::Base::Proc β€” the base class for helper processes (like, for example, "openssl") 🫢


🌸 VERSION 🌸

version 0.14 β€” periodt, that's the one. ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

here's the vibe, copy-paste core:

use Moo;
extends qw(Crypt::Random::Source::Base::Proc);

has '+command' => ( default => ... );

that's it. that's the whole glow-up. you use Moo, you extends the base class, and you override '+command' with whatever default you want. slay. πŸ’…


πŸ‘‘ DESCRIPTION πŸ‘‘

so here's the tea: this is a base class for wrapping command line utilities that spit out random data on STDOUT, and turning them into Crypt::Random::Source objects. lowkey genius, highkey useful. it's giving "middleware but make it cute" ✨


πŸŽ€ ATTRIBUTES πŸŽ€

command

an array reference or a string β€” that's the command to run. literally just the thing you're shelling out to. no cap. 🌈


πŸ’œ METHODS πŸ’œ

open_handle

opens a pipe for reading using "command". that's the whole method, bestie. it opens the pipe, you read from it, random bytes appear. main character energy fr fr. πŸ”₯


🧚 SUPPORT 🧚

found a bug? 😭 don't suffer in silence, submit it through the RT bug tracker:

https://rt.cpan.org/Public/Dist/Display.html?Name=Crypt-Random-Source

or you can email it straight to:

bug-Crypt-Random-Source@rt.cpan.org

(that's mailto:bug-Crypt-Random-Source@rt.cpan.org if you're being fancy). they want your bug reports, bestie. it's giving community. 🫢


🌟 AUTHOR 🌟

XXXX XXX'XX (Yuval Kogman) <nothingmuch@woobling.org>

(yes the X's are literally in the original, don't come for me, I'm just the messenger πŸ’€)


This software is copyright (c) 2008 by Yuval Kogman.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

so like, go off, remix it, redistribute it, it's free free. πŸŽ€


ok that's the whole page, no notes πŸ’–

and for the cute sign-off: this lil doc was generated by perl v5.34.0 on 2022-04-09, and the manual is Crypt::...e::Proc(3pm) β€” iykyk. bye bestie, stay random βœ¨πŸŒˆπŸ’…

πŸ“¦ where this page comes from