From 65461bd6124cd9cadf2d24c96b08557b8ede18d0 Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Tue, 26 Mar 2019 18:12:20 +0100 Subject: [PATCH] Fix documentation code --- docs/en/developer/guide.rst | 4 ---- 1 file changed, 4 deletions(-) diff --git a/docs/en/developer/guide.rst b/docs/en/developer/guide.rst index ca7cf0518..9eec3f5e8 100644 --- a/docs/en/developer/guide.rst +++ b/docs/en/developer/guide.rst @@ -2139,8 +2139,6 @@ The model can also be used to check strings (not only counters). So we want to c use strict; use warnings; - my $instance_mode; - sub set_counters { my ($self, %options) = @_; @@ -2194,8 +2192,6 @@ The model can also be used to check strings (not only counters). So we want to c my ($self, %options) = @_; $self->SUPER::check_options(%options); - # Sometimes, you'll need to have access of the current object in the callback - $instance_mode = $self; } sub manage_selection {