NAME
Dist::Joseki::Cmd::Command::smoke - 'smoke' command for Dist::Joseki::Cmd
SYNOPSIS
Dist::Joseki::Cmd::Command::smoke->new;
DESCRIPTION
None yet.
METHODS
- clear_dist_errors
-
$obj->clear_dist_errors;
Deletes all keys and values from the hash.
- delete_dist_errors
-
$obj->delete_dist_errors(@keys);
Takes a list of keys and deletes those keys from the hash.
- dist_errors
-
my %hash = $obj->dist_errors; my $hash_ref = $obj->dist_errors; my $value = $obj->dist_errors($key); my @values = $obj->dist_errors([ qw(foo bar) ]); $obj->dist_errors(%other_hash); $obj->dist_errors(foo => 23, bar => 42);
Get or set the hash values. If called without arguments, it returns the hash in list context, or a reference to the hash in scalar context. If called with a list of key/value pairs, it sets each key to its corresponding value, then returns the hash as described before.
If called with exactly one key, it returns the corresponding value.
If called with exactly one array reference, it returns an array whose elements are the values corresponding to the keys in the argument array, in the same order. The resulting list is returned as an array in list context, or a reference to the array in scalar context.
If called with exactly one hash reference, it updates the hash with the given key/value pairs, then returns the hash in list context, or a reference to the hash in scalar context.
- dist_errors_clear
-
$obj->dist_errors_clear;
Deletes all keys and values from the hash.
- dist_errors_delete
-
$obj->dist_errors_delete(@keys);
Takes a list of keys and deletes those keys from the hash.
- dist_errors_exists
-
if ($obj->dist_errors_exists($key)) { ... }
Takes a key and returns a true value if the key exists in the hash, and a false value otherwise.
- dist_errors_keys
-
my @keys = $obj->dist_errors_keys;
Returns a list of all hash keys in no particular order.
- dist_errors_values
-
my @values = $obj->dist_errors_values;
Returns a list of all hash values in no particular order.
- exists_dist_errors
-
if ($obj->exists_dist_errors($key)) { ... }
Takes a key and returns a true value if the key exists in the hash, and a false value otherwise.
- keys_dist_errors
-
my @keys = $obj->keys_dist_errors;
Returns a list of all hash keys in no particular order.
- values_dist_errors
-
my @values = $obj->values_dist_errors;
Returns a list of all hash values in no particular order.
Dist::Joseki::Cmd::Command::smoke inherits from Dist::Joseki::Cmd::Multiplexable.
The superclass Dist::Joseki::Cmd::Multiplexable defines these methods and functions:
hook_after_dist_loop(), hook_before_dist_loop(),
hook_in_dist_loop_end(), try_single()
The superclass Dist::Joseki::Cmd::Command defines these methods and functions:
args(), args_clear(), args_count(), args_index(), args_pop(),
args_push(), args_set(), args_shift(), args_splice(), args_unshift(),
clear_args(), clear_opt(), count_args(), delete_opt(), exists_opt(),
index_args(), keys_opt(), opt(), opt_clear(), opt_delete(),
opt_exists(), opt_has_value(), opt_keys(), opt_spec(), opt_values(),
pop_args(), push_args(), set_args(), shift_args(), splice_args(),
unshift_args(), validate(), validate_args(), values_opt()
The superclass App::Cmd::Command defines these methods and functions:
new(), _option_processing_params(), _usage_text(), abstract(), app(),
command_names(), prepare(), usage(), usage_desc(), usage_error()
The superclass App::Cmd::ArgProcessor defines these methods and functions:
_process_args()
The superclass Dist::Joseki::Base defines these methods and functions:
assert_is_dist_base_dir(), print_header(), read_from_cmd(),
safe_system()
The superclass Class::Accessor::Complex defines these methods and functions:
mk_abstract_accessors(), mk_array_accessors(), mk_boolean_accessors(),
mk_class_array_accessors(), mk_class_hash_accessors(),
mk_class_scalar_accessors(), mk_concat_accessors(),
mk_forward_accessors(), mk_hash_accessors(), mk_integer_accessors(),
mk_new(), mk_object_accessors(), mk_scalar_accessors(),
mk_set_accessors(), mk_singleton()
The superclass Class::Accessor defines these methods and functions:
_carp(), _croak(), _mk_accessors(), accessor_name_for(),
best_practice_accessor_name_for(), best_practice_mutator_name_for(),
follow_best_practice(), get(), make_accessor(), make_ro_accessor(),
make_wo_accessor(), mk_accessors(), mk_ro_accessors(),
mk_wo_accessors(), mutator_name_for(), set()
The superclass Class::Accessor::Installer defines these methods and functions:
install_accessor()
TAGS
If you talk about this module in blogs, on del.icio.us or anywhere else, please use the distjoseki
tag.
VERSION
This document describes version 0.14 of Dist::Joseki::Cmd::Command::smoke.
BUGS AND LIMITATIONS
No bugs have been reported.
Please report any bugs or feature requests to <bug-dist-joseki@rt.cpan.org
>, or through the web interface at http://rt.cpan.org.
INSTALLATION
See perlmodinstall for information and options on installing Perl modules.
AVAILABILITY
The latest version of this module is available from the Comprehensive Perl Archive Network (CPAN). Visit <http://www.perl.com/CPAN/> to find a CPAN site near you. Or see <http://www.perl.com/CPAN/authors/id/M/MA/MARCEL/>.
AUTHORS
Marcel Grünauer, <marcel@cpan.org>
COPYRIGHT AND LICENSE
Copyright 2007-2008 by the authors.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.