I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2007-03-10 04:11:50-08 by pdi
Copy number: leading character
When renaming files the %c option can append an auto-incremented number to the filename to avoid possible collisions. If %-c is used, the number is prefixed with a leading '-'. However, using %_c doesn't work. Can the leading character be any other than '-'?

Many thanks in advance.
pdi
Direct Responses: 4538 | Write a response
Posted on 2007-03-10 13:12:34-08 by exiftool in response to 4537
Re: Copy number: leading character
This is something I had actually thought about, but using a '_' in the %c format would not be consistent with my parsing of other format codes. However, the '+' sign is not currently used and could be applied for this purpose (ie. "%+c"). I know it isn't quite as logical as the '_', but it is more consistent from an interface point of view.

I have updated the 6.80 pre-release with this feature, and it will appear in the official versions when released.

- Phil
Direct Responses: 4539 | Write a response
Posted on 2007-03-10 17:18:11-08 by pdi in response to 4538
Re: Copy number: leading character
Phil,

Thank you very much for both your explanation and the new feature.

pdi
Direct Responses: Write a response