projects
/
gitmo/Moose.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
24d8fc0
)
Remove $next->($self, ...) in favor of $self->$next(...)
Dave Rolsky [Sun, 3 May 2009 18:11:06 +0000 (13:11 -0500)]
lib/Moose/Cookbook/FAQ.pod
patch
|
blob
|
blame
|
history
diff --git
a/lib/Moose/Cookbook/FAQ.pod
b/lib/Moose/Cookbook/FAQ.pod
index
3fd9e02
..
d274f5c
100644
(file)
--- a/
lib/Moose/Cookbook/FAQ.pod
+++ b/
lib/Moose/Cookbook/FAQ.pod
@@
-216,7
+216,7
@@
of the main method. Here is an example:
unless ($options->{bar} eq 'foo') {
return 'bar';
}
- $next->($self, %options);
+ $self->$next(%options);
};
By choosing not to call the C<$next> method, you can stop the