Skip to content

Instantly share code, notes, and snippets.

@killerfish
killerfish / ia_type_function
Created Oct 22, 2014
Determine instant answer type
View ia_type_function
sub get_ia_type {
my $path = "./lib/DDG/";
my %dirs = (
Fathead => "0",
Goodie => "1",
Longtail => "0",
Spice => "1"
);