The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

AI::MicroStructure::any - Items from any structure

DESCRIPTION

This structure simply selects a theme at random from all available structures, and returns names from it.

The selection is done in such a manner that you'll see no repetition in the items returned from a given structure, until all items from the structure have been seen.

METHODS

new( @args )

Create a new instance.

The parameters will be used to create the underlying AI::MicroStructure object, and will be passed to the randomly chosen structure. This can be useful for structures deriving from AI::MicroStructure::Locale.

name( $count )

Implement the name() method for this class.

structure()

Return the structure name (any).

has_remotelist()

Always return false.

CONTRIBUTOR

Philippe Bruhat, upon request of Sébastien Aperghis-Tramoni.

Introduced in Acme-MetaSyntactic version 0.12, published on March 7, 2005.

Updated to conform with interface changes required by AI::MicroStructure::Updatable in version 0.49, published on November 21, 2005.

Received its own version number for Acme-MetaSyntactic version 1.000, published on May 7, 2012.

SEE ALSO

AI::MicroStructure.