GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Gungho::Component::RobotRules::Rule(3) User Contributed Perl Documentation Gungho::Component::RobotRules::Rule(3)

Gungho::Component::RobotRules::Rule - A Rule Object

  use Gungho::Component::RobotRules::Rule;
  my $rule = Gungho::Component::RobotRules::Rule->new(
    'UserAgent A' => [ '/foo', '/bar' ],
    'UserAgent B' => [ '/baz', '/quux' ],
  );

This modules stores the RobotRules ruleset for a particular host.

Creates a new rule. A single rule is a set of subrules that represents an user-agent to a list of denied paths.

No host information is stored.

Initializes the rule.

Returns true if the given URL is allowed within this ruleset

Returns true if $string matches our user agent string contained in $c->user_agent
2007-12-01 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.