Data::...::Names(3pm)

πŸ“¦
version 0.006 Β· 3 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

✨ NAME ✨

Data::Fake::Names β€” fake name data generators, aka your new fave lil bestie for making up people who don't exist πŸ’–


πŸŽ€ VERSION πŸŽ€

version 0.006 β€” yes she's on her 0.006 era, iconic


πŸ¦‹ SYNOPSIS πŸ¦‹

okay bestie, literally three lines and you're making fake humans:

use Data::Fake::Names;

fake_first_name()->();  # Fred, Mary, etc.
fake_surname()->();     # Cooke, Boyle, etc.
fake_name()->();        # Fred James Cooke, etc.

see that? you call the thing, you get back a generator, then you call that to get an actual name. double call, double slay πŸ’…


🌸 DESCRIPTION 🌸

So basically this module hands you fake data generators for person names. And rn β€” currently, as in right this second β€” every single name it spits out is English ASCII, sourced straight from US government "top names" lists. government-issued names, no cap πŸ‘‘

And the best part? All functions are exported by default. You don't have to ask, you don't have to beg, they just show up in your namespace like 🫢


πŸ’œ FUNCTIONS πŸ’œ

⭐ fake_name

$generator = fake_name();

Hands you back a generator that gives you a randomly picked name β€” and it's a full name with first, middle and last name parts all together. Whole government name energy πŸ‘‘

⭐ fake_first_name

$generator = fake_first_name();

Hands you back a generator that gives you one randomly picked first name. And here's the tea: it's split 50/50 between male and female names. perfectly balanced, as all things should be βš–οΈ

⭐ fake_surname

$generator = fake_surname();

Hands you back a generator that gives you one randomly picked surname. That's it. That's the whole vibe. simple, clean, effective 🌈


πŸ’– AUTHOR πŸ’–

David Golden <dagolden@cpan.org> β€” the actual legend who made this happen πŸ™Œ


This software is Copyright (c) 2015 by David Golden.

This is free software, licensed under:

The Apache License, Version 2.0, January 2004

free software besties, we love to see it πŸŽ€


okay that's the whole page!! πŸ’– this was generated for perl v5.38.2 and dated 2024-07-24 β€” so yeah, go forth and make up some little guys, you're gonna eat this up fr fr βœ¨πŸ¦‹πŸ’…

πŸ“¦ where this page comes from