module::cpants::kwalitee::files(3pm) [debian man page]
Module::CPANTS::Kwalitee::Files(3pm) User Contributed Perl Documentation Module::CPANTS::Kwalitee::Files(3pm)NAME
Module::CPANTS::Kwalitee::Files - Check for various files
SYNOPSIS
Find various files and directories that should be part of every self-respecting distribution.
DESCRIPTION
Methods
order
Defines the order in which Kwalitee tests should be run.
Returns 10, as data generated by "MCK::Files" is used by all other tests.
map_filenames
get db_filenames from real_filenames
analyse
"MCK::Files" uses "File::Find" to get a list of all files and dirs in a dist. It checks if certain crucial files are there, and does some
other file-specific stuff.
get_files
The subroutine used by "File::Find". Unfortunantly, it depends on some global values.
kwalitee_indicators
Returns the Kwalitee Indicators datastructure.
o extractable
o extracts_nicely
o has_readme
o has_manifest
o has_meta_yml
o has_buildtool
o has_changelog
o no_symlinks
o has_tests
o has_tests_in_t_dir
o buildfile_not_executabel
o has_example (optional)
o no_generated_file
o has_version_in_each_file
o no_stdin_for_prompting
SEE ALSO
Module::CPANTS::Analyse
AUTHOR
Thomas Klausner <https://metacpan.org/author/domm>
COPYRIGHT AND LICENSE
Copyright X 2003X2006, 2009 Thomas Klausner <https://metacpan.org/author/domm>
You may use and distribute this module according to the same terms that Perl is distributed under.
perl v5.14.2 2012-06-08 Module::CPANTS::Kwalitee::Files(3pm)
Check Out this Related Man Page
Module::CPANTS::Kwalitee::MetaYML(3pm) User Contributed Perl Documentation Module::CPANTS::Kwalitee::MetaYML(3pm)NAME
Module::CPANTS::Kwalitee::MetaYML - Checks data availabe in META.yml
SYNOPSIS
Checks various pieces of information in META.yml
DESCRIPTION
Methods
order
Defines the order in which Kwalitee tests should be run.
Returns 11.
analyse
"MCK::MetaYML" checks "META.yml".
kwalitee_indicators
Returns the Kwalitee Indicators datastructure.
o metayml_is_parsable
o metayml_has_license
o metayml_conforms_spec_1_0
o metayml_conforms_known_spec
o metayml_conforms_spec_current
o metayml_declares_perl_version
check_spec_conformance
check_spec_conformance($d,$version);
Validates META.yml using Test::CPAN::Meta.
SEE ALSO
Module::CPANTS::Analyse
AUTHOR
Thomas Klausner <https://metacpan.org/author/domm> and Gabor Szabo <https://metacpan.org/author/szabgab>
COPYRIGHT AND LICENSE
Copyright X 2003X2009 Thomas Klausner <https://metacpan.org/author/domm>
Copyright X 2006X2008 Gabor Szabo <https://metacpan.org/author/szabgab>
You may use and distribute this module according to the same terms that Perl is distributed under.
perl v5.14.2 2012-06-08 Module::CPANTS::Kwalitee::MetaYML(3pm)
Hi
I need to perform certain tests on information contained in a file, a lot of what is contained in the file is duplicate data, so what I want to do as it is a failrly substantial file size is to start and finish reading from a specifed line in the file.
Can someone tell me how to indicate... (3 Replies)
Hi All,
Iam trying to find two kinds of files while ignoring rest of the files in a directory
The files are like below
Files to be found
--------------------
perp45560
oerp4556
Files to be ignored
----------------------
oerp4556123450
oerp4556123470
I was trying the following... (4 Replies)
Hello All,
I am somehow stumped with this ting.
'Find' will sure show me.. but I want only thepath of all the occurences of the file in any of the sub-dirs..
Any help will be sincerely appreciated.
thanx! (3 Replies)
Hi,
I would like to Join the Below mwntioned TWO Files.
File 1.txt
---------
99|Table1|00|5
99|Table2|00|10
99|Table3|00|15
99|Table1|04|7
File 2.txt
---------
99|Table1|00|INF1
99|Table2|00|INF2
99|Table3|00|INF3
99|Table1|04|INF4
99|Table4|04|INF5
99|Table2|04|INF6
Expected... (3 Replies)
Hi,
I need to go through all the files on my system and build a list/output file with the paths of all files where the first two characters within the file match an expression.
I know I can use something like
find . | xargs cut -b1-2
or
find . -exec cut -b1-2 {} \;
to get the characters... (3 Replies)
Hello everyone,
I currently have a situation which is causing me some issues for keeping up with certain files. I will explain this to the best of my abilities.
I have a list of files as follows
50_REPORT_1111 - file contains the word Car
50_REPORT_2222 - file contains the word House... (15 Replies)
Hello all, thanks for your time (and this forum, what an awesome resource for newbs like myself!)
Anyways, I've been given the task of importing content from a directory of about...7000 HTML files. They are all named appropriately and broken down by name depending on what book they belong too.... (8 Replies)
Hi All,
So I'm new to scripting and I've been put in a position to convert a bunch of files with specific extensions in a folder and all its subfolders to uppercase including their extension. I figure so far I could do something like this:
...
...
and then input $line into another bash... (12 Replies)
Hi All,
So I have another question. I'm trying to search for files with a certain extension and then move all of them up one level in the folder hierarchy.
So something like this:
original: /path/to/file/test.txt
after: /path/to/test.txt
I had some great help recently with another... (4 Replies)
Hi
I have requirement to read only unread files from the directory and load into database.
Scenario: I do receive bunch of files into my unix directory for every 15 mins. My ETL Process every once in a day and reads the files and loads into db table. I cannot move these file into different... (9 Replies)
Hi.
I found many scripts in the web of achieving this.
But I like to use this one
find /EDWH-DMT03 -xdev -size +10000 -exec ls -la {} \;|sort -n -k 5 > LARGE.rst
But the problem is, why it still list out files with 89 bytes as the output? Is there anything wrong with the command?
My... (7 Replies)
Greetings!
Been a while since I futzed around with Perl, and came upon a minor headscratcher for the community ;)
Here's the basic code which I'm trying to make tick over:#!/usr/bin/perl
use strict;
use warnings;
use diagnostics;
print " starting ";
while (-e "~/.somedir/testFile")... (9 Replies)
I have two directories of files (new-config-files and old-config-files):
new-config-files/this-db/config.inc.php
new-config-files/that-db/config.inc.php
new-config-files/old-db/config.inc.php
new-config-files/new-db/config.inc.php
new-config-files/random-database/config.inc.php
etc.
... (4 Replies)