As of 11 Oct 2025, the Performance Measurement Network has been upgraded. If you experience any problems with the site, please report them to Wiki Webmaster.
Go to Joint Commission

PerlDoc

26 August 2025 - 17:41 | Version 1 |
See PublishedAPI for packages intended to be used by Plugin and Contrib authors, or browse all packages.
See also Developing plugins, Developer's Bible, Technical Overview


Parent package: Foswiki::Query
Child packages:

    internal package Foswiki::Query::ConditionalOP is a Foswiki::Query::OP

    Base class for binary conditional operators.

    StaticMethod compare($a, $b, \&fn) → $boolean

    Apply a binary comparison function to two data, tolerant of whether they are numeric or not. \&fn takes a single parameter, which is the result of a <=> comparison on $a and $b. The result of applying \&fn is returned.

    ObjectMethod evalTest($node, $clientData, \&fn) → $result

    Evaluate a node using the comparison function passed in. Extra parameters are passed on to the comparison function. If the LHS of the node evaluates to an array, the result will be an array made by applying \&fn to each member of the LHS array. The RHS is passed on untouched to \&fn. Thus (1,-1) > 1 will yield (1,0)

    This site is powered by FoswikiCopyright © by the contributing authors. All material on this site is the property of the contributing authors.
    Ideas, requests, problems regarding Performance Measurement Network? Send feedback
    This website is using cookies. More info. That's Fine