Reply:...tCache(3pm)

πŸ“¦
version 0.42 Β· 5 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– NAME πŸ’–

Reply::Plugin::ResultCache β€” bestie, this plugin keeps your previous results around so you can point at them later. it's giving memory but make it cute 🧠✨


🌸 VERSION 🌸

version 0.42 β€” yes queen, that's the number, don't @ me πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

okay so drop this into your .replyrc and you're literally set:

; .replyrc
[ResultCache]
variable = r

✨ DESCRIPTION ✨

okay so here's the tea πŸ“: this plugin caches the results of successful evaluations, and then hands them to you in a lexical array. by default that array is called @res, but you can rename it with the variable option if @res isn't your vibe.

so like… you can grab the value that the previous line returned with $res[-1]. iconic, right?? no cap, that's the whole point. πŸ‘‘

and it doesn't stop there β€” it also modifies the output to include an indication of where the value got stored, so you can come back and reference it later. it's like the plugin leaves you little sticky notes πŸŽ€πŸ“Œ. the way that it just tells you where your stuff went… obsessed.

lowkey important: it only caches results of successful evaluations. if your code flopped, there's nothing to hold onto, bestie 😭

πŸ¦‹ AUTHOR πŸ¦‹

Jesse Luehrs <doy@tozt.net> β€” the main character who made this happen πŸ‘‘


This software is Copyright (c) 2016 by Jesse Luehrs.

This is free software, licensed under:

The MIT (X11) License

and that's the whole page, bestie!! 🫢 this came to you as User Contributed Perl Documentation for Reply:...tCache(3pm), running on perl v5.34.0, dated 2022-06-17. slay, go cache some results πŸ’–βœ¨πŸŒΈπŸ’…

πŸ“¦ where this page comes from