#!/usr/bin/perl #use strict; use World; @worldGirls= World::ListGirls; $me = new World::Geek(love=>%0,match=>undef); foreach $girl (@worldGirls) { if ($me->{love} eq $girl->{love}) { $me->{match}=$girl; last; } } if ($me->{match}!=undef) { $me->kiss($me->{match}); }
In reply to How to find a match for a geek by masuoda
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |