dist::zilla::plugin::prunefiles(3pm) [debian man page]
Dist::Zilla::Plugin::PruneFiles(3pm) User Contributed Perl Documentation Dist::Zilla::Plugin::PruneFiles(3pm)NAME
Dist::Zilla::Plugin::PruneFiles - prune arbirary files from the dist
VERSION
version 4.300020
SYNOPSIS
This plugin allows you to explicitly prune some files from your distribution. You can either specify the exact set of files (with the
"filenames" parameter) or provide the regular expressions to check (using "match").
This is useful if another plugin (maybe a FileGatherer) adds a bunch of files, and you only want a subset of them.
In your dist.ini:
[PruneFiles]
filename = xt/release/pod-coverage.t ; pod coverage tests are for jerks
filename = todo-list.txt ; keep our secret plans to ourselves
match = ^test_data/*
match = ^test.cvs$
ATTRIBUTES
filenames
This is an arrayref of filenames to be pruned from the distribution.
matches
This is an arrayref of regular expressions and files matching any of them, will be pruned from the distribution.
SEE ALSO
Dist::Zilla plugins: PruneCruft, GatherDir, ManifestSkip.
AUTHOR
Ricardo SIGNES <rjbs@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Ricardo SIGNES.
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-21 Dist::Zilla::Plugin::PruneFiles(3pm)
Check Out this Related Man Page
Dist::Zilla::Plugin::MetaJSON(3pm) User Contributed Perl Documentation Dist::Zilla::Plugin::MetaJSON(3pm)NAME
Dist::Zilla::Plugin::MetaJSON - produce a META.json
VERSION
version 4.300020
DESCRIPTION
This plugin will add a META.json file to the distribution.
This file is meant to replace the old-style META.yml. For more information on this file, see Module::Build::API and CPAN::Meta.
ATTRIBUTES
filename
If given, parameter allows you to specify an alternate name for the generated file. It defaults, of course, to META.json.
version
This parameter lets you pick what version of the spec to use when generating the output. It defaults to 2 at present, but may be updated
to new specs as they are released and adopted.
If you want a fixed version, specify it.
SEE ALSO
Core Dist::Zilla plugins: @Basic, Manifest.
Dist::Zilla roles: FileGatherer.
Other modules: CPAN::Meta, CPAN::Meta::Spec, JSON.
AUTHOR
Ricardo SIGNES <rjbs@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Ricardo SIGNES.
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-21 Dist::Zilla::Plugin::MetaJSON(3pm)
suppose i have a few file like "a b c.txt" , "hello world.c" etc...(files that have space between them in their filenames).
how do i change their filenames to "a_b_c.txt" and "hello_world.c" respectively?
heres what i have tried...but failed
$ find -name "*" -exec mv "{}" "`echo {} | tr "... (4 Replies)
I have a series of filenames of the format junk_x_###.txt where x and ### are numbers. I need to detect when at least 30 consecutive files (e.g. junk_1_001.txt, junk_1_002.txt.....) are in the directory. There are sets of files with similar names that need to be grouped together and counted... (0 Replies)
I would like to know how to take information from a filename and place it into the text of the same file. Let's say I have a file called height_2_width_1.txt containing data that is related to a height of 2 and a width of 1, and the text originally looks like this:
where these two columns... (13 Replies)
Hey guys,
Sorry for the basic question but I have a lot of files that I want to separate into groups based on filenames which I can then cat together. Eg I have:
(a_b_c.txt)
WB34_2_SLA8.txt
WB34_1_SLA8.txt
WB34_1_DB10.txt
WB34_2_DB10.txt
WB34_1_SLA8.txt
WB34_2_SLA8.txt
77_1_SLA8.txt... (1 Reply)
hi
i am trying to match filenames and modify the files internally depending on the match
the filenames are something like this
cm01FEB2012bhav
cm01AUG2012bhav
...
Internally the file(cm01FEB2012bhav) looks like this
20MICRONS,EQ,64.1,65.7,62.45,63.7,64.5,64.1,113043,01-FEB-2012... (4 Replies)