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

Data::Faker::MetaSyntactic - Data::Faker plugin for metasyntactic data

SYNOPSIS

    use Data::Faker 'MetaSyntactic';

    my $faker = Data::Faker->new();

    # using themes from Acme-MetatSyntactic-Themes
    say "First name        ", ucfirst $faker->meta_crypto;
    say "Favorite colour:  ", $faker->meta_colours;
    say "Favorite flavour: ", $faker->meta_ben_and_jerry;
    say "Random stuff:     ", join " ", map $faker->meta, 1 .. 4;

DESCRIPTION

Data::Faker creates fake (but reasonable) data that can be used for things such as filling databases with fake information during development of database related applications.

This module is a plugin that taps into the data provided by Acme::MetaSyntactic.

See Data::Faker for details.

DATA PROVIDERS

Each and every installed Acme::MetaSyntactic theme can be a data provider. If theme name is $theme, the corresponding data provider is named meta_$theme.

For example, data from theme foo will be provided via meta_foo.

The meta provider is a synonym for meta_any, which gets data from a random theme.

SEE ALSO

Data::Faker, Acme::MetaSyntactic, Task::MetaSyntactic.

AUTHOR

Philippe Bruhat (BooK) <book@cpan.org>

COPYRIGHT

Copyright 2014 Philippe Bruhat (BooK), all rights reserved.

LICENSE

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.