Tom Wyant
and 1 contributors

NAME

Astro::App::Satpass2::Macro::Command - Define a macro which consists of an array of commands

SYNOPSIS

No user-serviceable parts inside.

DESCRIPTION

This class is private to the Astro-App-Satpass2 distribution. Documentation is for the benefit of the author only.

METHODS

This class provides the following methods overriding those of its superclass:

init

The def attribute is checked, and the implements attribute populated.

ATTRIBUTES

This class adds the following attributes to the superclass:

def

This attribute is a reference to an array that contains the commands to be executed when the macro is called. Substitution is done on these as required.

The same-named method can be used to access this. The method returns an array in list context, or an array reference in scalar context. Either way the return is a copy of the definition; you can not access (and therefore modify) the commands issued by the macro using the data returned by this method.

SEE ALSO

The superclass, Astro::App::Satpass2::Macro.

SUPPORT

Support is by the author. Please file bug reports at http://rt.cpan.org, or in electronic mail to the author.

AUTHOR

Thomas R. Wyant, III wyant at cpan dot org

COPYRIGHT AND LICENSE

Copyright (C) 2013-2015 by Thomas R. Wyant, III

This program is free software; you can redistribute it and/or modify it under the same terms as Perl 5.10.0. For more details, see the full text of the licenses in the directory LICENSES.

This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose.