File::Tasks::Provider - Handles content providers for File::Tasks


File-Tasks documentation  | view source Contained in the File-Tasks distribution.

Index


NAME

Top

File::Tasks::Provider - Handles content providers for File::Tasks

DESCRIPTION

Top

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.

METHODS

Top

compatible $source

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.

content $source

The content method extracts the content from the source and returns it as a reference to a SCALAR, or returns undef on error.

SUPPORT

Top

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.

AUTHOR

Top

Adam Kennedy <adamk@cpan.org>, http://ali.as/

COPYRIGHT

Top


File-Tasks documentation  | view source Contained in the File-Tasks distribution.