Reply:...tCache(3pm)
π 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 π
π COPYRIGHT AND LICENSE π
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
- debian bookworm: libreply-perl 0.42-2 Β· MIT
- debian trixie: libreply-perl 0.42-2 Β· MIT
- ubuntu noble: libreply-perl 0.42-2 Β· MIT
- ubuntu resolute: libreply-perl 0.42-2 Β· MIT
- ubuntu stonking: libreply-perl 0.42-2 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms