| GunghoX-FollowLinks documentation | view source | Contained in the GunghoX-FollowLinks distribution. |
GunghoX::FollowLinks::Rule - Rule To Decide If A Link Should Be Followed
use GunghoX::FollowLinks::Rule q(FOLLOW_ALLOW FOLLOW_DENY FOLLOW_DEFER);
package MyRule;
use base qw(GunghoX::FollowLinks::Rule);
sub apply {
# custom logic
}
Subclasses 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.
| GunghoX-FollowLinks documentation | view source | Contained in the GunghoX-FollowLinks distribution. |