Do
Modern Perl
package main;
use Do;
fun greeting($name) {
"Hello $name";
}
say greeting("world");
1;
This package aims to provide a modern Perl development framework and foundational set of types, functions, classes, patterns, and interfaces for jump-starting application development. This package inherits all behavior from Data::Object; Please see that documentation to learn more. Also, you can read the overview and project wiki.
+=head1 INSTALLATION
If you have cpanm, you only need one line:
$ cpanm -qn Do
If you don't have cpanm, get it! It takes less than a minute, otherwise:
$ curl -L https://cpanmin.us | perl - -qn Do
Add Do to the list of dependencies in cpanfile:
requires "Do" => "1.87"; # 1.87 or newer
If cpanm doesn't have permission to install modules in the current Perl installation, it will automatically set up and install to a local::lib in your home directory. See the local::lib documentation for details on enabling it in your environment. We recommend using a Perlbrew or Plenv environment. These tools will help you manage multiple Perl installations in your $HOME directory. They are completely isolated Perl installations.
5 POD Errors
The following errors were encountered while parsing the POD:
- Around line 8:
Unknown directive: =name
- Around line 12:
Unknown directive: =abstract
- Around line 16:
Unknown directive: =synopsis
- Around line 30:
Unknown directive: =description
- Around line 39:
Unknown directive: =headers