NAME
Langertha::Engine::Mock - Langertha::Engine::Virtual under the engine name Mock
VERSION
version 0.504
SYNOPSIS
use Langertha;
use Langertha::Virtual::Rules qw( answer );
my $engine = Langertha->new_engine( Mock =>
rules => [ 'Hello' => answer('Hi there!') ],
fallback => answer('done'),
);
my $echo = Langertha::Engine::Mock->preset('echo');
DESCRIPTION
The engine name Mock for Langertha::Engine::Virtual: the same class with nothing added or changed, so code that picks its engine by name (for example Langertha->new_engine('Mock', ...)) can ask for a mock. Everything - the rules, the script mode, the presets, rules_file and the recording - is documented in Langertha::Engine::Virtual. Its preset builds a Langertha::Engine::Mock.
SEE ALSO
Langertha::Engine::Virtual - The engine and its rule language
Langertha::Virtual::Rules -
answer,tool,toolsandafter
SUPPORT
Issues
Please report bugs and feature requests on GitHub at https://github.com/Getty/langertha/issues.
IRC
Join #langertha on irc.perl.org or message Getty directly.
CONTRIBUTING
Contributions are welcome! Please fork the repository and submit a pull request.
AUTHOR
Torsten Raudssus <getty@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2026 by Torsten Raudssus https://raudssus.de/.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.