1
0
Fork 0
mirror of https://github.com/perlbot/perlbuut synced 2025-06-07 22:15:45 -04:00

made it remove common stuff

This commit is contained in:
Ryan Voots 2010-10-05 00:31:30 -04:00
parent 2039610fae
commit ec37fa7c0a

View file

@ -43,6 +43,7 @@ sub {
s/^\s*//, s/\s*\?\s*$// for @a; #trim them up
$common = $findcommon->(@a);
s/^$common// for @a; # remove the common stuff for grammar
}
else
{
@ -68,7 +69,7 @@ sub {
"As I see it, yes");
}
print $a[rand@a]." $common."
print $a[rand@a]."."
}
__DATA__