[wellwell-devel] [wellwell/zoom] Use return with value instead on next in WellWell::Zoom::parse_handler.

Stefan Hornburg wellwell-devel at rt.icdevgroup.org
Mon Aug 16 06:52:44 UTC 2010


commit 6d51f0efa8c79e052284b8212bd65785926691b5
Author: Stefan Hornburg (Racke) <racke at linuxia.de>
Date:   Mon Aug 16 08:51:53 2010 +0200

    Use return with value instead on next in WellWell::Zoom::parse_handler.

 lib/WellWell/Zoom.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/WellWell/Zoom.pm b/lib/WellWell/Zoom.pm
index 98777b6..ea02a12 100644
--- a/lib/WellWell/Zoom.pm
+++ b/lib/WellWell/Zoom.pm
@@ -222,7 +222,7 @@ sub parse_handler {
 			$sref->{values}->{$name} = $sob;
 		}
 		else {
-			next;
+			return $sref;
 		}
 	}
 



More information about the wellwell-devel mailing list