Jesse Luehrs > Reply-0.33 > Reply::Plugin::ResultCache

Download:
Reply-0.33.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.33   Source   Latest Release: Reply-0.34

NAME ^

Reply::Plugin::ResultCache - retain previous results to be able to refer to them later

VERSION ^

version 0.33

SYNOPSIS ^

  ; .replyrc
  [ResultCache]
  variable = r

DESCRIPTION ^

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.

AUTHOR ^

Jesse Luehrs <doy@tozt.net>

COPYRIGHT AND LICENSE ^

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

This is free software, licensed under:

  The MIT (X11) License
syntax highlighting: