| File-Tasks documentation | view source | Contained in the File-Tasks distribution. |
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.
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.
The compatible method takes a single argument and checks to see
if it can be used as a content source for File::Tasks.
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.
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.
| File-Tasks documentation | view source | Contained in the File-Tasks distribution. |