Gungho::Component.ja - Gunghoコンポーネント親クラス
package MyComponent; use base qw(Gungho::Component); # in your conf --- components: - +MyComponent - Authentication::Basic
Gungho::ComponentはGunghoを拡張するための部品です。プラグインとは違い、 Gungho::ComponentはGunghoのリクエストサイクル動作を継承により変更します。
新規にComponentを作成する場合はGungho::Componentから継承するモジュールを 作成し、components項目に指定してください。
components
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.