[libcatmandu-perl] 56/101: Adding pod
Jonas Smedegaard
dr at jones.dk
Tue Feb 23 13:43:55 UTC 2016
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository libcatmandu-perl.
commit 553ad3d0f8d57cae866f1e7ada0a706e2ebd0682
Author: Patrick Hochstenbach <patrick.hochstenbach at ugent.be>
Date: Tue Jan 26 10:19:38 2016 +0100
Adding pod
---
lib/Catmandu/Fix/Condition/in.pm | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/lib/Catmandu/Fix/Condition/in.pm b/lib/Catmandu/Fix/Condition/in.pm
index a54c0cc..e102a78 100644
--- a/lib/Catmandu/Fix/Condition/in.pm
+++ b/lib/Catmandu/Fix/Condition/in.pm
@@ -31,6 +31,12 @@ Catmandu::Fix::Condition::in - only execute fixes the data in one path is contai
=head1 SYNOPSIS
#-------------------------------------------------------------------
+ # Compare single values
+ # foo => 42 , bar => 42 => in(foo,bar) -> true
+ if in(foo,bar)
+ add_field(forty_two,ok)
+ end
+
# When comparing single values to an array: test if the value is
# contained in the array
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcatmandu-perl.git
More information about the Pkg-perl-cvs-commits
mailing list