dist::zilla::plugin::pkgversion(3pm) [debian man page]
Dist::Zilla::Plugin::PkgVersion(3pm) User Contributed Perl Documentation Dist::Zilla::Plugin::PkgVersion(3pm)NAME
Dist::Zilla::Plugin::PkgVersion - add a $VERSION to your packages
VERSION
version 4.300020
SYNOPSIS
in dist.ini
[PkgVersion]
DESCRIPTION
This plugin will add lines like the following to each package in each Perl module or program (more or less) within the distribution:
{
$MyModule::VERSION = 0.001;
}
...where 0.001 is the version of the dist, and MyModule is the name of the package being given a version. (In other words, it always uses
fully-qualified names to assign versions.)
It will skip any package declaration that includes a newline between the "package" keyword and the package name, like:
package
Foo::Bar;
This sort of declaration is also ignored by the CPAN toolchain, and is typically used when doing monkey patching or other tricky things.
SEE ALSO
Core Dist::Zilla plugins: PodVersion, AutoVersion, NextRelease.
Other Dist::Zilla plugins: OurPkgVersion inserts version numbers using "our $VERSION = '...';" and without changing line numbers
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::PkgVersion(3pm)
Check Out this Related Man Page
Dist::Zilla::Plugin::AutoVersion(3pm) User Contributed Perl Documentation Dist::Zilla::Plugin::AutoVersion(3pm)NAME
Dist::Zilla::Plugin::AutoVersion - take care of numbering versions so you don't have to
VERSION
version 4.300020
DESCRIPTION
This plugin automatically produces a version string, generally based on the current time. By default, it will be in the format: 1.yyDDDn
ATTRIBUTES
major
The "major" attribute is just an integer that is meant to store the major version number. If no value is specified in configuration, it
will default to 1.
This attribute's value can be referred to in the autoversion format template.
format
The format is a Text::Template string that will be rendered to form the version. It is meant to access to one variable, $major, and one
subroutine, "cldr", which will format the current time (in GMT) using CLDR patterns (for which consult the DateTime documentation).
The default value is:
{{ $major }}.{{ cldr('yyDDD') }}
{{ sprintf('%01u', ($ENV{N} || 0)) }}
{{$ENV{DEV} ? (sprintf '_%03u', $ENV{DEV}) : ''}}
SEE ALSO
Core Dist::Zilla plugins: PkgVersion, PodVersion, NextRelease.
Dist::Zilla roles: VersionProvider, TextTemplate.
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::AutoVersion(3pm)
Hi all.
I have a directory which contains files that can be versioned. All the files are named according to a pattern like this:
TEXTSTRING1-001.EXTENSION
TEXTSTRING2-001.EXTENSION
TEXTSTRING3-001.EXTENSION
...
TEXTSTRINGn-001.EXTENSION
If a file is versioned, a file called
... (10 Replies)
Hi All,
I am just curious, not programming anything of my own. I know there are libraries like gmp which does all such things. But I really need to know HOW they do all such things i.e. working with extremely large unimaginable numbers which are beyond the integer limit. They can do add,... (1 Reply)
Hi,
I have string in variable like '/u/dolfin/in/DOLFIN.PRL_100.OIB.TLU.001.D20110520.T040010'
and i want to conevrt this string into only "DOLFIN.PRL_100.OIB.TLU.001.D20110520.T040010" (i.e file name).
Is there any command to extracting string in some part ?(rather than whole path)?
... (5 Replies)
I have the text like:
DN11-001 Thats the first line which needs to be
DN11-001 joined with the second line and also to
DN11-001 the third line as they all begin with the same
DN11-001 document number.
DN11-002 The number of lines differ
DN11-002 among the documents.
DN11-005 It can also be... (10 Replies)
Hello,
I am using the Sublime Plugin LogHighlight.
I can use RegEx there to highlight some lines in sublime.
Now I need to find every line, that has a number of above 25000.
the lines look like this:
smart_sdl.result: 8947
smart_sdm.result: 8947
smart_sdn.result: 25000
Currently I am... (3 Replies)