Changeset 1655
- Timestamp:
- 09/02/06 22:05:22
- Files:
-
- trunk/plagger (modified) (previous)
- trunk/plagger/lib/Plagger/Plugin.pm (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/plagger/lib/Plagger/Plugin.pm
r1644 r1655 167 167 =head1 NAME 168 168 169 Plagger::Plugin - Base class for Plagger Plug gins169 Plagger::Plugin - Base class for Plagger Plugins 170 170 171 171 =head1 SYNOPSIS … … 181 181 ) 182 182 } 183 183 184 184 sub doodad { ... } 185 185 … … 187 187 188 188 This is the base class for plagger plugins. Pretty much everything is done 189 by plug gins in Plagger.189 by plugins in Plagger. 190 190 191 191 To write a new plugin, simply inherit from Plagger::Plugin: … … 205 205 206 206 207 This means that the "doodad" method will be called at the "thingy.wosit" 208 stage. 207 This means that the "doodad" method will be called at the 208 "thingy.wosit" stage. 209 210 There is a handy L<tools/plugin-start.pl> tool that creates the 211 template of I<.pm> file, dependency YAML file and test files for you. 212 213 > ./tools/plugin-start.pl Foo::Bar 209 214 210 215 =head2 Methods
