NAME
MooX::Keyword::Random - return a random result!
VERSION
Version 0.02
SYNOPSIS
Quick summary of what the module does.
Perhaps a little code snippet.
package Holiday::Hospital;
use Moo;
use MooX::Keyword extends => '+Random';
random bed => 21;
random doctorse => ['a' .. 'z'];
random food => [ 'pizza', 'burger', 'kebab', 'fruit', 'toast' ];
1;
...
my $h = Holiday::Hospital->new();
my $room = $h->bed(); # a random number between 0 and 21.
AUTHOR
LNATION, <email at lnation.org>
BUGS
Please report any bugs or feature requests to bug-moox-keyword-random at rt.cpan.org
, or through the web interface at https://rt.cpan.org/NoAuth/ReportBug.html?Queue=MooX-Keyword-Random. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc MooX::Keyword::Random
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
https://rt.cpan.org/NoAuth/Bugs.html?Dist=MooX-Keyword-Random
CPAN Ratings
Search CPAN
ACKNOWLEDGEMENTS
LICENSE AND COPYRIGHT
This software is Copyright (c) 2023 by LNATION.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)