X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/963330ccde9da7cb7bb390c1c52dbe2e051d67da..53593baa211863fbf66540cf1bcc36c8fb37257f:/SL/Helper/Object.pm diff --git a/SL/Helper/Object.pm b/SL/Helper/Object.pm index 9c0b98625..922dafb97 100644 --- a/SL/Helper/Object.pm +++ b/SL/Helper/Object.pm @@ -76,11 +76,11 @@ sub delegate { die "invalid args handling '$params->{args}'" unless defined $target_code; eval " - sub $caller::$method { + sub ${caller}::$method { $pre_context $target_code$method_joiner$target_method$args_string; $post_context } 1; - " or die "could not create $caller::$method: $@"; + " or die "could not create ${caller}::$method: $@"; } } } @@ -109,9 +109,9 @@ SL::Helper::Object - Meta Object Helper Mixin =head1 DESCRIPTION -Sick of writing getter, setter? No because Rose::Object::MakeMethods got you covered. +Sick of writing getter, setter? No because Rose::Object::MakeMethods has you covered. -Sick of writing all the rest that Rose an't do? Put it here. Functionality in this +Sick of writing all the rest that Rose can't do? Put it here. Functionality in this mixin is passed as an include parameter, but are still described as functions: =head1 FUNCTIONS