Acme-Insult-Glax
view release on metacpan or search on metacpan
These are undocumented but from my tinkering, I've figured out that templates can accept the following pseudo-XML tags:
- `<article>`
Properly fills in a/an depending on what follows it.
You may target another field by its id.
```
... <article target='adj1' /> <adjective id='adj1' max='3' /> ...
```
- `<adverb>`
- `<adjective>`
```
<adjective min=1 max=3 id=adj1>
```
- `<amount>`
lib/Acme/Insult/Glax.pm view on Meta::CPAN
These are undocumented but from my tinkering, I've figured out that templates can accept the following pseudo-XML tags:
=over
=item C<E<lt>articleE<gt>>
Properly fills in a/an depending on what follows it.
You may target another field by its id.
... <article target='adj1' /> <adjective id='adj1' max='3' /> ...
=item C<E<lt>adverbE<gt>>
=item C<E<lt>adjectiveE<gt>>
<adjective min=1 max=3 id=adj1>
=item C<E<lt>amountE<gt>>
=item C<E<lt>animalE<gt>>
lib/Acme/Insult/Glax.pm view on Meta::CPAN
=back
=head1 LICENSE & LEGAL
Copyright (C) Sanko Robinson.
This library is free software; you can redistribute it and/or modify it under the terms found in the Artistic License
2. Other copyrights, terms, and conditions may apply to data transmitted through this module.
Insults are generated by L<libInsult|https://gitlab.com/mattia.basaglia/LibInsult> which is maintained by L<Mattia
"Glax" Basaglia|https://mattbas.org/>.
=head1 AUTHOR
Sanko Robinson E<lt>sanko@cpan.orgE<gt>
=head2 ...but why?
I'm inflicting this upon the world because L<oodler577|https://github.com/oodler577/> invited me to help expand Perl's
coverage of smaller open APIs. Blame them or L<join us|https://github.com/oodler577/FreePublicPerlAPIs> in the effort.
=begin stopwords
RESTful libInsult
=end stopwords
=cut
script/glax_insult.pl view on Meta::CPAN
This script wraps Acme::Insult::Glax.
=head1 LICENSE & LEGAL
Copyright (C) Sanko Robinson.
This library is free software; you can redistribute it and/or modify it under the terms found in the Artistic License
2. Other copyrights, terms, and conditions may apply to data transmitted through this module.
Unsolicited advice provided by L<Kevin Kelly|https://kk.org/>.
=head1 AUTHOR
Sanko Robinson E<lt>sanko@cpan.orgE<gt>
=cut
( run in 2.734 seconds using v1.01-cache-2.11-cpan-e1769b4cff6 )