GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  PERL::PREREQSCANNER::SCANNER::PERL5 (3)

.ds Aq ’

NAME

Perl::PrereqScanner::Scanner::Perl5 - scan for core Perl 5 language indicators of required modules

CONTENTS

VERSION

version 1.023

DESCRIPTION

This scanner will look for the following indicators:
o plain lines beginning with use, require, or no 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.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 PERL::PREREQSCANNER::SCANNER::PERL5 (3) 2015-04-06

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.