#!/usr/bin/env perl

# @(#)$Id: munchies_misc 738 2009-06-09 16:42:23Z pjf $

use strict;
use warnings;
use version; our $VERSION = qv( sprintf '0.2.%d', q$Rev: 738 $ =~ /\d+/gmx );
use File::Spec::Functions;
use FindBin  qw( $Bin );
use lib catfile( $Bin, updir, q(lib) );

use App::Munchies::Programs::Misc;

my $prog = App::Munchies::Programs::Misc->new( appclass => q(App::Munchies) );

exit $prog->dispatch;

__END__

=pod

=head1 NAME

munchies_misc - A collection of miscellaneous subroutines

=head1 SYNOPSIS

=over 3

=item B<munchies_misc> B<-c> I<subroutine> [B<-o> I<var=value,...>]

Execute named subroutine

=item B<munchies_misc> B<-H>|B<-h>

Display man page/usage string

=back

=head1 VERSION

$Revision: 738 $

=head1 DESCRIPTION

This program exposes the subroutines in the
App::Munchies::Programs::Misc module

=head1 REQUIRED ARGUMENTS

=over 3

=item B<-c> I<subroutine>

=back

=head1 OPTIONS

=over 3

=item B<-D>

Turn debugging on

=item B<-m> I<path>

Append to logfile on completion

=item B<-n>

Do not prompt for debugging

=back

=head1 DIAGNOSTICS

Prints errors to stderr

=head1 EXIT STATUS

Returns zero on success, non zero on failure

=head1 CONFIGURATION

Uses the constructor's I<appclass> attribute to locate a configuration file

=head1 DEPENDENCIES

=over 3

=item L<App::Munchies::Programs::Misc>

=back

=head1 INCOMPATIBILITIES

None

=head1 BUGS AND LIMITATIONS

Send reports to address below

=head1 AUTHOR

Peter Flanigan, C<< <Support at RoxSoft.co.uk> >>

=head1 LICENSE AND COPYRIGHT

Copyright (c) 2009 Peter Flanigan

This is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.

=cut

# Local Variables:
# mode: perl
# tab-width: 3
# End:
