NAME

DoitX::Example - an example Doit component

SYNOPSIS

use Doit;
my $doit = Doit->init;
$doit->add_component('DoitX::Example');
$doit->example_hello_world('arg');

DESCRIPTION

DoitX::Example is a Doit component just serving as a small example. It has to be added to a script using Doit's add_component:

$doit->add_component('DoitX::Example');

DOIT COMMANDS

The following commands are added to the Doit runner object:

example_hello_world

my $ret = $doit->example_hello_world($arg);

Do something, and return something.

AUTHOR

Slaven Rezic <srezic@cpan.org>

COPYRIGHT

Copyright (c) 2017 Slaven Rezic. All rights reserved. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

Doit.