Perl::Analysis::Static::Questioner - ask a question about a Perl document
version 0.004
Asks the question for a document.
If we didn't find any elements, we return immediately with undef. Hoewever, if we have found something, we run our filters over it. We return the result of the filters which might be a reference to a list of elements. If we filtered everything and nothing is left, we return undef.
Asks a question for a list of files and collects the answers.
The $step_hook is optional. If provided, it is called with the file's name as only argument after the answer for that file is added to the collector.
Results: A collector containing all the answers.
Example: my $collector = $questioner->ask_for_files( $question, $files, sub { print shift } );
Gregor Goldbach <glauschwuffel@nomaden.org>
This software is copyright (c) 2011 by Gregor Goldbach.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Perl::Analysis::Static, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Perl::Analysis::Static
CPAN shell
perl -MCPAN -e shell install Perl::Analysis::Static
For more information on module installation, please visit the detailed CPAN module installation guide.