Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Program to find words rhyming with orange

Name: Anonymous 2013-10-20 19:11

plz make me one

Name: Anonymous 2013-10-20 21:31


#!perl
use strict;

my @words = qx(cat /usr/share/dict/words);
chomp @words;
my @rhymes = qw/orange range ange/;
my @output;
foreach my $word (@words) {
    foreach my $end (@rhymes) {
        push @output, $word if $word =~ m/$end$/;
    }
}

print "$_\n" foreach @output;


Opritmize it if you want. I spent like 3 minutes writing this.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List