Acme-Affinity
view release on metacpan or search on metacpan
#!/usr/bin/env perl
use strict;
use warnings;
use lib '/Users/gene/sandbox/Acme-Affinity/lib';
use Acme::Affinity;
use List::Util 'shuffle';
use Term::Choose;
use Term::Clear ();
# https://www.eharmony.com/dating-advice/first-dates/15-great-first-date-questions/
my $questions = [
{ i => 1,
q => 'Who are the most important people in your life?',
a => ['parents', 'kids', 'friends'] },
{ i => 2,
q => 'What makes you laugh?',
a => ['jokes', 'comedies', 'pranks', 'accidents'] },
{ i => 3,
q => 'Where is "home"?',
a => ['here', 'across the country', 'in another country'] },
{ i => 4,
q => 'Do you read reviews, or just go with your gut?',
a => ['reviews', 'gut'] },
{ i => 5,
q => "Do you have a dream you're pursuing?",
a => ['yes', 'maybe', 'no'] },
{ i => 6,
q => 'What do your Saturdays usually look like?',
a => ['staying home', 'partying'] },
{ i => 7,
q => 'Where did you grow up?',
a => ['here', 'across the country', 'in another country'] },
{ i => 8,
q => 'What is your family like?',
a => ['nice', 'mean', 'n/a'] },
{ i => 9,
q => "What's your big passion?",
a => ['hiking', 'programming', 'music'] },
{ i => 10,
q => "What's the most interesting job you've ever had?",
a => ['stripper', 'sales', 'diver'] },
{ i => 11,
q => 'Do you have a special place you like to visit regularly?',
a => ['desert', 'river', 'ocean', 'forest'] },
{ i => 12,
q => "What's your signature drink?",
a => ['vodka', 'whiskey', 'beer', 'wine'] },
{ i => 13,
q => "What's the best meal you've ever had?",
a => ['french', 'italian', 'indian'] },
{ i => 14,
q => "What's on your bucket list?",
a => ['sky dive', 'swim with dolphins'] },
{ i => 15,
q => 'What toppings are needed to create the perfect burger?',
a => ['lettuce, tomato, onion', 'cheese', 'spinach'] },
{ i => 16,
q => "What's the best concert you've ever attended?",
a => ['Black Sabbath', 'Barry Manilow', 'Wu Tang Clan'] },
{ i => 17,
q => "What's your most valuable possession?",
a => ['guitar', 'vase', 'necklace'] },
{ i => 18,
( run in 1.305 second using v1.01-cache-2.11-cpan-600a1bdf6e4 )