- or download this
if (!defined ($tag_search) && !defined ($attr_search))
{
$ok = 0;
return($ok, "No values for tag searched");
}
- or download this
return (0, "No values for tag searched")
unless defined $tag_search and defined $attr_search;
- or download this
my $tag = @{$tagstruct}[0];
# versus
my $tag = $tagstruct->[0];
- or download this
use HTML::TokeParser;
my @forbid = $self->test_tags( 'tag_forbid', $content, $case_re );
...
return @results;
}