Skip to content

Instantly share code, notes, and snippets.

@JAChapmanII
Forked from anonymous/stdin.txt
Created January 2, 2013 13:58
Show Gist options
  • Save JAChapmanII/4434774 to your computer and use it in GitHub Desktop.
Save JAChapmanII/4434774 to your computer and use it in GitHub Desktop.
#!/usr/bin/perl
if("catdog" =~ "/catdog/") {
print "match\n";
} else {
print "no match\n";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment