DoitX::Example - an example Doit component
use Doit; my $doit = Doit->init; $doit->add_component('DoitX::Example'); $doit->example_hello_world('arg');
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');
The following commands are added to the Doit runner object:
my $ret = $doit->example_hello_world($arg);
Do something, and return something.
Slaven Rezic <srezic@cpan.org>
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.
Doit.
To install Doit, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Doit
CPAN shell
perl -MCPAN -e shell install Doit
For more information on module installation, please visit the detailed CPAN module installation guide.