AMD OSRC (AMD Operating System Research Center) > Tapper-Reports-Web-4.1.0 > Tapper::Reports::Web::Util::Filter::Overview

Download:
Tapper-Reports-Web-4.1.0.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Module Version: 4.1.0   Source   Latest Release: Tapper-Reports-Web-4.1.2

NAME ^

Tapper::Reports::Web::Util::Filter::Overview

SYNOPSIS ^

 use Tapper::Overviews::Web::Util::Filter::Overview;
 my $filter              = Tapper::Overviews::Web::Util::Filter::Overview->new();
 my $filter_args         = ['host','bullock','days','3'];
 my $allowed_filter_keys = ['host','days'];
 my $searchoptions       = $filter->parse_filters($filter_args, $allowed_filter_keys);

weeks

Add weeks filters to early filters. This checks whether the overview element was used in the last given weeks.

@param hash ref - current version of filters @param int - number of weeks

@return hash ref - updated filters

like

Add like filters to early filters. Note that the expected regular expression is not a real regexp. Instead * as wildcard is accepted.

@param hash ref - current version of filters @param string - like regexp

@return hash ref - updated filters

hostname

Add like for the hostname filters to early filters. Note that the expected regular expression is not a real regexp. Instead * as wildcard is accepted.

@param hash ref - current version of filters @param string - like regexp

@return hash ref - updated filters

NAME ^

Tapper::Reports::Web::Util::Filter::Overview - Filter utilities for overview listing

AUTHOR ^

AMD OSRC Tapper Team <tapper@amd64.org>

COPYRIGHT AND LICENSE ^

This software is Copyright (c) 2012 by Advanced Micro Devices, Inc..

This is free software, licensed under:

  The (two-clause) FreeBSD License
syntax highlighting: