NAME
Run::Parts::Perl - Pure Perl implementation of Debian's run-parts tool
VERSION
Version 0.01
SYNOPSIS
Pure Perl reimplementation of basic functionality of Debian's run-parts tool.
run-parts runs all the executable files named within constraints described below, found in the given directory. Other files and directories are silently ignored.
Additionally it can just print the names of the all matching files (not limited to executables, but ignores blacklisted files like e.g. backup files), but don't actually run them.
This is useful when functionality or configuration is split over multiple files in one directory.
This module is not thought to be used directly and its interface may change. See Run::Parts for a stable user interface.
METHODS
new (Constructor)
Creates a new Run::Parts object. Takes one parameter, the directory on which run-parts should work.
run_parts_command
Executes the given action with the given parameters
list
Lists all relevant files in the given directory. Equivalent to "run-parts --list". Returns an array.
test
Lists all relevant executables in the given directory. Equivalent to "run-parts --tests". Returns an array.
run
Executes all relevant executables in the given directory. Equivalent to "run-parts --tests". Returns an array.
SEE ALSO
Run::Parts, run-parts(8)
AUTHOR
Axel Beckert, <abe@deuxchevaux.org>
BUGS
Please report any bugs or feature requests to bug-run-parts at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Run-Parts. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Run::Parts
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
Search CPAN
ACKNOWLEDGEMENTS
LICENSE AND COPYRIGHT
Copyright 2013 Axel Beckert.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.