Hi, On Sat, 09 Feb 2013, 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.
Ok, why not. > -=item "$v", $v->as_string() > +=item "$v", $v->as_string(), $v->as_string($no_epoch), > $v->as_string($no_epoch, $no_revision) But this makes for unreadable code. I'd prefer something like this: $v->as_string(without_epoch => 1, without_revision => 1); Cheers, -- Raphaël Hertzog ◈ Debian Developer Get the Debian Administrator's Handbook: → http://debian-handbook.info/get/ -- To UNSUBSCRIBE, email to debian-dpkg-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130209170148.ga23...@x230-buxy.home.ouaza.com