mirror of
https://github.com/perlbot/perlbuut
synced 2025-06-08 03:45:41 -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;
|
return $common;
|
||||||
};
|
};
|
||||||
|
|
||||||
sub {
|
my $a=sub {
|
||||||
my( $said ) = @_;
|
my( $said ) = @_;
|
||||||
$said->{body} =~ s/^[^,]*://;
|
$said->{body} =~ s/^[^,]*://;
|
||||||
|
|
||||||
|
@ -67,7 +67,9 @@ sub {
|
||||||
}
|
}
|
||||||
|
|
||||||
print $a[rand@a]."."
|
print $a[rand@a]."."
|
||||||
}
|
};
|
||||||
|
|
||||||
|
return $a
|
||||||
|
|
||||||
__DATA__
|
__DATA__
|
||||||
8ball, magic 8ball if you don't understand then you need to stop having a life.
|
8ball, magic 8ball if you don't understand then you need to stop having a life.
|
||||||
|
|
Loading…
Add table
Reference in a new issue