Re: [PATCH] Dpkg::Version, Dpkg::Source::Package: move version-without-epoch outputting to the Version module
On Sat, 2013-02-09 at 15:18:04 +0100, Guillem Jover wrote:
> On Sat, 2013-02-09 at 15:03:31 +0100, Bernhard R. Link wrote:
> > Instead of doing the magic of generating a version string without epoch
> > and revision and a version string without epoch in
> > Dpkg::Source::Package, extend Dpkg::Version's as_string function to
> > support generating that string.
> I like the idea, but I'd prefer the function to take a bitwise single
> flag argument instead, with proper constants.
Err, being this perl, an options hash argument would do even better.