(map { $_ => $_ } ( 'gt', 'lt', 'eq', 'ne', 'ge', 'le' )),
);
-sub conditional_passes
+sub _conditional_passes
{
my $self = shift;
my ($context) = @_;
else
{
warn "Conditional 'is' value was [$is], defaulting to 'FALSE'" . $/
- if $is ne 'FALSE';
+ if $is ne 'FALSE' && $^W;
return 0 if $istrue;
}
my $self = shift;
my ($context) = @_;
- return 1 unless $self->conditional_passes($context);
+ return 1 unless $self->_conditional_passes($context);
return $self->iterate_over_children($context);
}
my $self = shift;
my ($context, $attr) = @_;
- return 0 unless $self->conditional_passes($context);
+ return 0 unless $self->_conditional_passes($context);
return $self->SUPER::max_of($context, $attr);
}
my $self = shift;
my ($context, $attr) = @_;
- return 0 unless $self->conditional_passes($context);
+ return 0 unless $self->_conditional_passes($context);
return $self->SUPER::total_of($context, $attr);
}
If VALUE is not set, then IS is checked. IS is allowed to be either "TRUE" or
"FALSE". The boolean value of NAME is checked against IS.
-=back 4
+=back
=head1 CHILDREN