Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/songmu/p5-test-requires-scanner
https://github.com/songmu/p5-test-requires-scanner
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/songmu/p5-test-requires-scanner
- Owner: Songmu
- License: other
- Created: 2014-07-14T16:30:18.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2018-02-11T17:40:50.000Z (over 6 years ago)
- Last Synced: 2024-10-11T21:09:24.105Z (27 days ago)
- Language: Perl
- Size: 25.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: Changes
- License: LICENSE
Awesome Lists containing this project
README
# NAME
Test::Requires::Scanner - retrieve modules specified by Test::Requires
# SYNOPSIS
use Test::Requires::Scanner;
my $modules2version_hashref = Test::Requires::Scanner->scan_files('t/hoge.t', 't/fuga.t');# DESCRIPTION
App::TestRequires::Scanner is to retrieve modules specified by [Test::Requires](https://metacpan.org/pod/Test::Requires) in
test files. It is useful for CPAN module maintainer.## METHODS
- `$hashref = Test::Requires::Scanner->scan_string($str)`
- `$hashref = Test::Requires::Scanner->scan_file($file)`
- `$hashref = Test::Requires::Scanner->scan_files(@files)`A key of `$hashref` is module name and a value is version.
# LICENSE
Copyright (C) Songmu.
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.# AUTHOR
Songmu