NAME
App::Glacier::Core - Core class for glacier command line tool.
DESCRIPTION
Core class for all glacier commands. Provides basic command-line functionality.
METHODS
new
new($argref, $optref)
$argref is a reference to the list of command line arguments (if undef, \@ARGV will be used), and $optref is a reference to option definitions in the style of Getopt::Long. The constructor consumes the following options and stores the rest of the arguments in the returned object structure:
- -h, -?
-
Displays short help list.
- --help
-
Formats entire manual page.
- -d, --debug
-
Increases debug level associated with the returned object.
- -n, --dey-run
-
Sets dry-run mode.
progname
dry_run
debug
debug($level, @message)
error
error(@message)
abend
abend($code, @message)