NAME

MooX::Keyword::Random - return a random result!

VERSION

Version 0.03

SYNOPSIS

Quick summary of what the module does.

Perhaps a little code snippet.

package Random;

use Moo;
use MooX::Keyword extends => '+Random';

random number => 21;

random character => ['a' .. 'z'];

random item => [ 'pizza', 'burger', 'kebab', 'fruit', 'toast' ];

1;

... 

my $rand = Random->new();

my $num = $rand->number(); # a random number between 0 and 21.
my $char = $rand->character(); # a random character between a and z.
my $item = $rand->item(); # a random item in the provided list

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:

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

This software is Copyright (c) 2023->2024 by LNATION.

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)