Skip to content

Instantly share code, notes, and snippets.

@fuba
Created February 5, 2009 21:25
Show Gist options
  • Save fuba/59019 to your computer and use it in GitHub Desktop.
Save fuba/59019 to your computer and use it in GitHub Desktop.
sub is_my_reply {
my $text = shift;
for my $nickname (@nicknames) {
if ($text =~ s/\@$nickname//) {
return $text;
}
}
return;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment