The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Game::HexDescribe::Command::rule

SYNOPSIS

hex-describe rule [--table=table] [--rule=rule] [--limit=number]

hex-describe rule --help

DESCRIPTION

Prints the random results of rules.

OPTIONS

--help prints the man page.

--table specifies the table to load.

Without --table, print all the tables there are.

--rule specifies the rule to use.

--text specifies the text to use (with rules in square brackets).

Without --rule or --text, print all the rules there are.

--limit limits the output to a certain number of entries. The default is 10.

--separator changes the separator between entries. The default is two newlines, three dashes, and two newlines ("\n\n---\n\n").

EXAMPLES

Find all orc related rules:

hex-describe rule --table=schroeder | grep orc

Print an orc tribe:

hex-describe rule --table=schroeder --rule="orcs" --limit=1

Print ten orc names:

hex-describe rule --table=schroeder --rule="orc name" --separator=\n

1 POD Error

The following errors were encountered while parsing the POD:

Around line 61:

Unterminated C<...> sequence