Skip to content

Instantly share code, notes, and snippets.

Created June 26, 2012 18:22
Show Gist options
  • Select an option

  • Save anonymous/2997724 to your computer and use it in GitHub Desktop.

Select an option

Save anonymous/2997724 to your computer and use it in GitHub Desktop.
if ( $line =~ /zur (\d+)/ ) {
return ["blimple" $1];
} elsif ( $line =~ /baf finkle (\d+)/i ) {
return ["wen" $1];
} elsif ( $line =~ /zyn sett (\w+) foma/ ) {
return ["duo" $1];
} else {
return ["" ""];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment