Author: Richard LeeRichard Lee Date: May 7, 2008 11:07
Rob Dixon wrote:
> Richard Lee wrote:
>
>> John W. Krahn wrote:
>>
>>
>>> Richard Lee wrote:
>>>
>>>
>>>> Can you please tell me how to shorten this?
>>>>
>>>> my @an = split(//);
>>>> my @num = grep { $_ eq ':' } @an ;
>>>>
>>>> I was trying to see how many : occur in variable but didn't know how
>>>> to do it fast so i did it like above...
>>>>
>>>> I would like to see as many way different ways to get this done if
>>>> possible
>>>> ...
|