GunghoX::FollowLinks::Rule::URI - Follow Dependig On URI


GunghoX-FollowLinks documentation  | view source Contained in the GunghoX-FollowLinks distribution.

Index


NAME

Top

GunghoX::FollowLinks::Rule::URI - Follow Dependig On URI

SYNOPSIS

Top

  use GunghoX::FollowLinks::Rule qw(FOLLOW_ALLOW FOLLOW_DENY);
  use GunghoX::FollowLinks::Rule::URI;

  GunghoX::FollowLinks::Rule::URI->new(
    match => [
      { action => FOLLOW_DENY,  host => qr/^.+\.example\.org$/ },
      { action => FOLLOW_ALLOW, host => qr/^.+\.example\.com$/ },
      {
        action         => FOLLOW_ALLOW,
        action_nomatch => FOLLOW_DENY,
        host           => qr/^.+\.example\.net$/ }
      }
    ]
  );

DESCRIPTION

Top

This is a rule that matches against a URL using URI::Match.

METHODS

Top

new

apply


GunghoX-FollowLinks documentation  | view source Contained in the GunghoX-FollowLinks distribution.