Evil mail program. I hadn't added the reference, [1]
http://www.allbusiness.com/glossaries/camel-notation/4953121-1.html
Issac Goldstand wrote:
> Since this has turned into a camelNotation discussion, I figured I'd
> chime in despite my original intent not to :)
>
> In camelNotation, the first word would be lowercased, in this case
> helloWorld or hello World[1].
>
> I imagine that Gaal's code is what Chanan actually wanted, so I won't
> expend the energy on lowercasing the first word before sending the
> rest of the string to Gaal's map below.
>
> Issac
>
> [1]
>
> Gaal Yahas wrote:
>> Camel notation usually refers to something without spaces, such as
>> "HelloWorld".
>>
>> Does the ucfirst builtin help with whay you want to do?
>>
>> $_ = "hello world";
>> print join " ", map { ucfirst } split;
>>
>> On Tue, Aug 11, 2009 at 11:33 AM, Berler Chanan<[email protected]> wrote:
>>
>>> Hi All,
>>>
>>> I wonder if there is a way to change text into camel notation style.
>>> Example: "hello world" should be "Hello World"
>>>
>>> Thanks
>>> Chanan
>>>
>>> _______________________________________________
>>> Perl mailing list
>>> [email protected]
>>> http://mail.perl.org.il/mailman/listinfo/perl
>>>
>>>
>>
>>
>>
>>
>
_______________________________________________
Perl mailing list
[email protected]
http://mail.perl.org.il/mailman/listinfo/perl