main

# $args{args} = $self->args; # represents @ARGV
# $args{data} = $self->data; # represents __DATA__
# $args{opts} = $self->opts; # represents Getopt::Long
# $args{vars} = $self->vars; # represents %ENV

$self->main(%args)

The main method is the "main method" and entrypoint into the program. It's called automatically by the run method if your package is configured as recommended. This method accepts arguments as key/value pairs, and if called by run will receive the args, data, opts, and vars objects.

main(Any %args) : Any

method

5 POD Errors

The following errors were encountered while parsing the POD:

Around line 10:

Unknown directive: =name

Around line 14:

Unknown directive: =usage

Around line 23:

Unknown directive: =description

Around line 30:

Unknown directive: =signature

Around line 34:

Unknown directive: =type