|
NAMEGunghoX::FollowLinks::Rule - Rule To Decide If A Link Should Be Followed SYNOPSIS use GunghoX::FollowLinks::Rule q(FOLLOW_ALLOW FOLLOW_DENY FOLLOW_DEFER);
package MyRule;
use base qw(GunghoX::FollowLinks::Rule);
sub apply {
# custom logic
}
CONSTANTSFOLLOW_ALLOWFOLLOW_DENYFOLLOW_DEFERMETHODSapplySubclasses must override this method. The exact arguments change depending on the GunghoX::FollowLinks::Parser object being used, but the first two elements are always the global Gungho context and the Gungho::Response object.
|