File::Tasks::Provider - Handles content providers for File::Tasks
The main intent of File::Tasks is to take a set of content and apply it to a filesystem in some way.
The File::Tasks::Provider class is in change of making sure that File::Tasks can handle a wide variety of different types of content providers.
File::Tasks::Provider
Mostly at present this just means SCALAR references, strings, ARRAY refs and so on. But it should be extendable to handle many different things from which content can be extracted.
SCALAR
ARRAY
The compatible method takes a single argument and checks to see if it can be used as a content source for File::Tasks.
compatible
Returns true if it can, or false if not.
The content method extracts the content from the source and returns it as a reference to a SCALAR, or returns undef on error.
content
undef
Bugs should be reported via the CPAN bug tracker at
http://rt.cpan.org/NoAuth/ReportBug.html?Queue=File-Tasks
For other issues, contact the author.
Adam Kennedy <adamk@cpan.org>, http://ali.as/
Copyright 2005 Adam Kennedy.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
To install File::Tasks, copy and paste the appropriate command in to your terminal.
cpanm
cpanm File::Tasks
CPAN shell
perl -MCPAN -e shell install File::Tasks
For more information on module installation, please visit the detailed CPAN module installation guide.