On Thu, Jun 12, 2008 at 21:45, Gunnar Hjalmarsson <[EMAIL PROTECTED]> wrote:
> John W. Krahn wrote:
>>
>> $_ = 1 for my ( $loginCount, $areaCount, $stateCount, $cityCount,
>> $elementCount );
>
>  my ( $loginCount, $areaCount, $stateCount, $cityCount, $elementCount )
>    = map 1, 1..5;

my ( $loginCount, $areaCount, $stateCount, $cityCount, $elementCount )
= (1) x 5;

-- 
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to