NAME

Faker::Provider::Lorem - Faker Standard Lorem Provider

VERSION

version 0.12

SYNOPSIS

    use Faker;
    use Faker::Provider::Lorem;

    my $faker = Faker->new;
    my $lorem = Faker::Provider::Lorem->new(factory => $faker);

    say $lorem->paragraph;

DESCRIPTION

Faker::Provider::Lorem is a Faker provider which provides fake random text. Note: This is an early release available for testing and feedback and as such is subject to change.

METHODS

paragraph

    $lorem->paragraph;

    # enim in sed nisi. optio itaque enim aut consequuntur nihil.
    # quisquam voluptatem velit eligendi et. accusantium sunt autem et.
    # aliquid autem sed. quia delectus maxime aut est quis. neque dolor.

The paragraph method generates a random ficticious paragraph.

paragraphs

    $lorem->paragraphs;

    # sed et consectetur possimus. in corporis id rerum. qui iste in rerum
    # praesentium voluptas accusamus quia.

    # nulla veniam praesentium tenetur deleniti impedit in quis maiores. neque
    # natus provident rerum natus perspiciatis in consequuntur molestiae.
    # reprehenderit maiores quibusdam voluptas sit.

    # unde in mollitia illum rerum. illum inventore quisquam provident
    # repudiandae cum ducimus aperiam quam. qui aperiam sequi impedit libero
    # adipisci inventore.

The paragraphs method generates a random ficticious paragraphs.

sentence

    $lorem->sentence;

    # quod at eos quaerat reiciendis.
    # ipsa non id qui aut.
    # et fugiat omnis sint aut.

The sentence method generates a random ficticious sentence.

sentences

    $lorem->sentences;

    # iure consequatur hic non quasi. voluptates et ut eligendi. quis ratione
    # numquam iure doloribus.

    # et iste commodi voluptatem repudiandae laudantium. dolorem laboriosam qui
    # sit aut et. expedita in eum natus.

    # blanditiis repudiandae et quas voluptate deleniti. autem sequi itaque
    # voluptate eveniet. praesentium fugiat sit in.

The sentences method generates a random ficticious sentences.

word

    $lorem->word;

    # quia
    # aliquam
    # eos

The word method generates a random ficticious word.

words

    $lorem->words;

    # amet qui quibusdam excepturi est
    # dolor qui nemo distinctio laborum
    # omnis non maxime numquam ea

The words method generates a random ficticious words.

AUTHOR

Al Newkirk <anewkirk@ana.io>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Al Newkirk.

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