debian man page for perl::prereqscanner::scanner::perl5

Query: perl::prereqscanner::scanner::perl5

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

Perl::PrereqScanner::Scanner::Perl5(3pm)		User Contributed Perl Documentation		  Perl::PrereqScanner::Scanner::Perl5(3pm)

NAME
Perl::PrereqScanner::Scanner::Perl5 - scan for core Perl 5 language indicators of required modules
VERSION
version 1.012
DESCRIPTION
This scanner will look for the following indicators: o plain lines beginning with "use" or "require" in your perl modules and scripts, including minimum perl version o regular inheritance declared with the "base" and "parent" pragmata Since Perl does not allow you to supply a version requirement with a "require" statement, the scanner will check the statement after the "require Module" to see if it is "Module->VERSION( minimum_version );". In order to provide a minimum version, that method call must meet the following requirements: o it must be the very next statement after "require Module". Nothing can separate them but whitespace and comments (and one semicolon). o "Module" must be a bareword, and match the "require" exactly. o "minimum_version" must be a literal number, v-string, or single-quoted string. Double quotes are not allowed.
AUTHORS
o Jerome Quelin o Ricardo Signes <rjbs@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2009 by Jerome Quelin. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.14.2 2012-06-27 Perl::PrereqScanner::Scanner::Perl5(3pm)
Related Man Pages
dist::zilla::plugin::templatemodule(3pm) - debian
poe::component::client::mpd::types(3pm) - debian
perl::critic::policy::modules::prohibitconditionalusestatements(3pm) - debian
perl::prereqscanner::scanner::perl5(3pm) - debian
universal::require(3pm) - debian
Similar Topics in the Unix Linux Community
Regarding use and require keywords
Perl Module
How to write a new line to the end of the file in Perl?
Perl question!
Can Scanner be Initialized from the Terminal