Permalink
Browse files

Fixed wrong exp operator (Frank Wiegand, GH #17).

  • Loading branch information...
1 parent 9233162 commit 43aad0a2cf8b4f7f27aacde53a60bc2e21dd05e7 @chromatic committed Jun 30, 2010
Showing with 8 additions and 5 deletions.
  1. +3 −0 CREDITS
  2. +5 −5 sections/anonymous_functions.pod
View
@@ -68,3 +68,6 @@ E: scott@dearie.me.uk
N: Michael Hind
E: mike.hind@gmail.com
+
+N: Frank Wiegand
+E: fwie@cpan.org
@@ -33,11 +33,11 @@ input with behavior:
my %dispatch =
(
- plus => sub { $_[0] + $_[1] },
- minus => sub { $_[0] - $_[1] },
- times => sub { $_[0] * $_[1] },
- goesinto => sub { $_[0] / $_[1] },
- raisedto => sub { $_[0] ^ $_[1] },
+ plus => sub { $_[0] + $_[1] },
+ minus => sub { $_[0] - $_[1] },
+ times => sub { $_[0] * $_[1] },
+ goesinto => sub { $_[0] / $_[1] },
+ raisedto => sub { $_[0] ** $_[1] },
);
sub dispatch

0 comments on commit 43aad0a

Please sign in to comment.