mirror of
https://github.com/perlbot/perlbuut
synced 2025-06-07 19:05:50 -04:00
removing some useless warnings
This commit is contained in:
parent
2c890fa4b4
commit
1118925e35
1 changed files with 4 additions and 2 deletions
|
@ -20,7 +20,7 @@ use List::Util qw(min);
|
|||
return $common;
|
||||
};
|
||||
|
||||
sub {
|
||||
my $a=sub {
|
||||
my( $said ) = @_;
|
||||
$said->{body} =~ s/^[^,]*://;
|
||||
|
||||
|
@ -67,7 +67,9 @@ sub {
|
|||
}
|
||||
|
||||
print $a[rand@a]."."
|
||||
}
|
||||
};
|
||||
|
||||
return $a
|
||||
|
||||
__DATA__
|
||||
8ball, magic 8ball if you don't understand then you need to stop having a life.
|
||||
|
|
Loading…
Add table
Reference in a new issue