projects
/
gitmo/Moose.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
86dd5d1
)
fixed demolish calls
Stevan Little [Thu, 31 Jan 2008 17:46:45 +0000 (17:46 +0000)]
lib/Moose/Meta/Method/Destructor.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Moose/Meta/Method/Destructor.pm
b/lib/Moose/Meta/Method/Destructor.pm
index
73f1021
..
09db416
100644
(file)
--- a/
lib/Moose/Meta/Method/Destructor.pm
+++ b/
lib/Moose/Meta/Method/Destructor.pm
@@
-63,7
+63,7
@@
sub intialize_body {
push @DEMOLISH_calls => '$_[0]->' . $method->{class} . '::DEMOLISH()';
}
- $source .= join "\n" => @DEMOLISH_calls;
+ $source .= join ";\n" => @DEMOLISH_calls;
$source .= ";\n" . '}';
warn $source if $self->options->{debug};