in reply to {,} in GetOptions produces error

Here is a quote from the current (perl 5.12.2) Getopt::Long:
Warning: What follows is an experimental feature.
Others have pointed out why you may be getting an error. This quote should weigh into your decision as to whether you want to use s{,} or not. I interpret "experimental" as meaning it may not be well-tested or reliable, or even that it may be removed in a future release.