Subject: | Enhancement request for String::CamelCase |
Date: | Wed, 13 Feb 2019 17:34:08 -0600 |
To: | bug-string-camelcase [...] rt.cpan.org |
From: | Bill McSpadden <bill.mcspadden [...] seagate.com> |
Hi. I'd like to recommend a few changes to your package.
1) Camelize around numbers. For example: foo_bar_1 --> FooBar1
If you don't do this, you end up with underscores in a string that is
meant to
be CamelCase. Aesthetically unpleasing.
2) Treat multiple underscores as just one underscore and camlize it.
Example: foo__bar__1 --> FooBar1
3) I found that the package camelizes around a period: "."
Example: foo.bar --> Foo.Bar
Was that intended? I'd rather it not behave that way.
--
Bill McSpadden
Principal VLSI Verification Engineer
Seagate Technology
Work phone: 952-402-2419
Cell phone: 503-807-9309