Text::Lorem
Generate Lorem Ipsum placeholder text in Raku. Lorem Ipsum is placeholder text commonly used in the printing, graphic design, and web development industries. It's a pseudo-Latin text that serves as a visual fill-in for written content before the actual copy is available. Lorem Ipsum has a surprisingly rich history dating back over 500 years.
Installation
zef install Text::Lorem
Usage
use Text::Lorem;
my $lorem = Text::Lorem.new;
# Generate words
say $lorem.words(5); # Returns 5 random words
# Generate sentences
say $lorem.sentences(3); # Returns 3 sentences
# Generate paragraphs
say $lorem.paragraphs(2); # Returns 2 paragraphs
Examples
See the examples/demo.raku
file for a comprehensive demonstration.
Testing
prove -e raku t/
Repository
https://github.com/slavenskoj/raku-text-lorem
Copyright and License
Copyright 2025 Danslav Slavenskoj
This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.