diff options
author | doy <doy@tozt.net> | 2009-01-15 01:09:43 -0500 |
---|---|---|
committer | doy <doy@tozt.net> | 2009-01-15 01:09:43 -0500 |
commit | 91161b518ac8858899717a785cb3443b695f8a5f (patch) | |
tree | 24a1d004e11a41ba879800349b4c0e413d007ab1 /lib/Bot/Games/Game/24.pm | |
parent | 16612c204ffde260a58ef51085fc1343505aa246 (diff) | |
download | bot-games-91161b518ac8858899717a785cb3443b695f8a5f.tar.gz bot-games-91161b518ac8858899717a785cb3443b695f8a5f.zip |
syntax fixes
Diffstat (limited to 'lib/Bot/Games/Game/24.pm')
-rw-r--r-- | lib/Bot/Games/Game/24.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Bot/Games/Game/24.pm b/lib/Bot/Games/Game/24.pm index 039b551..cbe0edc 100644 --- a/lib/Bot/Games/Game/24.pm +++ b/lib/Bot/Games/Game/24.pm @@ -39,9 +39,9 @@ sub turn { else { return $eval; } -} +}; -command give_up => { +command give_up => sub { my $self = shift; $self->is_over($self->solution); return; |