NAME
SynopsisSee docs for Local::Build. Description
Note: Version numbers are extracted from the file name of the distro. Constructor and initializationnew(...) returns a This is the class's contructor. Usage: Local::CheckDistro -> new(). Calling Method: distro_count('Some::Module')Returns an integer. The number of distros of the module in Used to warn about multiple distros of a module. Method: distro_exists('Some::Module')Returns 0 or 1. Used to ensure methods in Local::Build don't waste my time. Method: dump()Returns nothing. Dump info about the modules found. Method: find_modules()Returns nothing. Finds all the distros in Handles a few special cases. Moves killer-app-1.00.tar.gz to killer-app-1.00.tgz. Method: get_config()Returns the config hash ref, which Method: module_names()Returns a sorted array ref of module names in 'Some::Module' format. This array ref will not contain duplicates. Method: modules()Returns a sorted array ref of module names and versions in a nice "$name V $version" format. Note: Version numbers are extracted from the file name of the distro. This array ref will not contain duplicates, but a module may have more than version. Method: specs('Some::Module')Returns an hash ref of what's known about the first version found (i.e.: uses [0]) of the given module. Hence assumes To deal with this, I move other versions of distros into ./misc/. Method: versions('Some::Module')Returns a string of the versions found, in '1.01/1.02' format. Required ModulesResourceshttp://savage.net.au/Perl-modules/html/local-module-overview.html Author
Home page: http://savage.net.au/index.html CopyrightAustralian copyright © 2006, Ron Savage. All rights reserved. All Programs of mine are 'OSI Certified Open Source Software'; you can redistribute them and/or modify them under the terms of The Artistic License, a copy of which is available at: http://www.opensource.org/licenses/index.html |
| Top of page |