Erik Aronesty > Roguelike-Utils-0.5.260 > Games::Roguelike::Console::Dump

Download:
Roguelike-Utils-0.5.260.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  0
View/Report Bugs
Module Version: 0.4.233   Source  

NAME ^

Games::Roguelike::Console::Dump - fake console that dumps to file, for testing

SYNOPSIS ^

use Games::Roguelike::Console::Dump;

$con = Games::Roguelike::Console::Dump->new(keys=>'qY', file=>'/dev/null');

DESCRIPTION ^

Fake console that dumps screens to file, used for testing game scripts without needing "curses" support.

Notably, the new function takes a keystroke string and a file as arguments.

Inherits from Games::Roguelike::Console. See Games::Roguelike::Console for list of methods.

SEE ALSO ^

Games::Roguelike::Console

syntax highlighting: