Reply::Plugin::ResultCache - retain previous results to be able to refer to them later
version 0.20
; .replyrc [ResultCache] variable = r
This plugin caches the results of successful evaluations, and provides them in a lexical array (by default @res, although this can be changed via the variable option). This means that you can, for instance, access the value returned by the previous line with $res[-1]. It also modifies the output to include an indication of where the value is stored, for later reference.
@res
variable
$res[-1]
Jesse Luehrs <doy at cpan dot org>
This software is Copyright (c) 2013 by Jesse Luehrs.
This is free software, licensed under:
The MIT (X11) License
To install Reply, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Reply
CPAN shell
perl -MCPAN -e shell install Reply
For more information on module installation, please visit the detailed CPAN module installation guide.