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

Art::World::Util - Generating all kind of data for the Art::World

SYNOPSIS

  use Art::World::Util;

  say Art::World::Util->new_person->fake_name;
  #==> Firtname Lastname

  say Art::World::Util->new_math->pick( 10, 1000 ));
  #==> 666

DESCRIPTION

Art::World::Util provide useful generation tools for automated Agents creation, data manipulation and other utilities that are not strictly related to the Art::World entities.

Methods

Art::World::Math

pick()

Pick an integer between a range that can be passed as a parameter. Mostly a way to not have to memorize $min + int ( rand ( $max - $min )).

Art::World::Meta

get_class()

get_set_attributes_only()

get_all_attributes()

Art::World::Person

fake_name()

Generate a complete person name using Faker.

Art::World::String

titlify()

AUTHOR

Sébastien Feugère <sebastien@feugere.net>

COPYRIGHT AND LICENSE

Copyright 2006-2021 Sebastien Feugère

This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.