[libtest-bdd-cucumber-perl] 03/52: Fix for issue #22

Intrigeri intrigeri at moszumanska.debian.org
Thu Jun 19 10:18:32 UTC 2014


This is an automated email from the git hooks/post-receive script.

intrigeri pushed a commit to annotated tag 0.19
in repository libtest-bdd-cucumber-perl.

commit 9d6aad77a6dc4d4366c2a041bd890aab51709e74
Author: Ben Rogers <ben at bdr.org>
Date:   Thu Dec 5 11:22:17 2013 +0000

    Fix for issue #22
---
 lib/Test/BDD/Cucumber/StepContext.pm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/Test/BDD/Cucumber/StepContext.pm b/lib/Test/BDD/Cucumber/StepContext.pm
index b4e52ad..e477cc7 100644
--- a/lib/Test/BDD/Cucumber/StepContext.pm
+++ b/lib/Test/BDD/Cucumber/StepContext.pm
@@ -184,6 +184,9 @@ sub transform
     TRANSFORM:
     for my $transformer ( @{ $self->transformers } )
     {
+        # turn off this warning so undef can be set in the following regex
+        no warnings 'uninitialized';
+
         # uses the same magic as other steps
         # and puts any matches into $1, $2, etc.
         # and calls the Transform step

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libtest-bdd-cucumber-perl.git



More information about the Pkg-perl-cvs-commits mailing list