HTML::Widgets::NavMenu::Predicate - a predicate object for HTML::Widgets::NavMenu


version 1.1000


    my $pred = HTML::Widgets::NavMenu::Predicate->new('spec' => $spec);


my $pred = HTML::Widgets::NavMenu::Predicate->new('spec' => $spec)

Creates a new object.

$pred->evaluate( 'path_info' => $path_info, 'current_host' => $current_host )

Evaluates the predicate in the context of $path_info and $current_host and returns the result.


The type of the predicate.


Sets/gets the boolean value in case the type is a boolean.


Sets/gets the callback in case the type is callback.


Sets/gets the regular expression in case the type is "regexp".


Copyright 2006 Shlomi Fish, all rights reserved.

This program is released under the following license: MIT X11.



The following websites have more information about this module, and may be of help to you. As always, in addition to those websites please use your favorite search engine to discover more resources.

Bugs / Feature Requests

Please report any bugs or feature requests by email to bug-html-widgets-navmenu at, or through the web interface at You will be automatically notified of any progress on the request by the system.

Source Code

The code is open to the world, and available for you to hack on. Please feel free to browse it and play with it, or whatever. If you want to contribute patches, please send me a diff or prod me to pull from your repository :)

  git clone git://


Shlomi Fish <>


Please report any bugs or feature requests on the bugtracker website

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.


This software is Copyright (c) 2005 by Shlomi Fish.

This is free software, licensed under:

  The MIT (X11) License