Gungho::Component::RobotRules::Storage::DB_File.ja - robots.txt情報をDB_Fileに格納する
# In your config components: - RobotRules robot_rules: storage: module: DB_File config: filename: '/path/to/storage.db' # or elsewhere in your code use Gungho::Component::RobotRules::Storage::DB_File; my $storage = Gungho::Component::RobotRules::Storage::DB_File->new( config => { filename => '/path/to/storage.db' } );
DB_File形式のファイルにrobots.txt情報を保存します。
To install Gungho, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Gungho
CPAN shell
perl -MCPAN -e shell install Gungho
For more information on module installation, please visit the detailed CPAN module installation guide.