On Thu, Oct 09, 2014 at 06:31:33PM +0200, Guillem Jover wrote: > I'd like to eventually unify them all by using Getopt::Long. But to > support the above 6 (sane) variants for backward compatibility, I'd > have to enable bundling, which I think is not a very good idea, as it's > not future proof, because if users can bundle options then adding > support for values to an existing option breaks those invocations. > > Bundling values (for short options) should always be safe, but there's > currently no way to only enable value bundling, which is what I'm missing. > I guess I'll have to write my own option parser or Getopt::Long wrapper, > due to only wanting to use modules and perl versions available from > oldstable, but it'd be nice to be able to eventually get rid of it. > > I'd like to have a new bundling_values option, that given the following > option specifiers: > > o=s > x > y > > would not allow any of: > > -xy -xovalue -xo value > > only: > > -x -y -ovalue -o value > > which are always safe and future proof.
Hi, Upstream has released 2.43 which implements the new bundling_values option. Please could you check to see whether this works for you? https://rt.cpan.org/Public/Bug/Display.html?id=101237 Thanks! Dominic. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org