Re: many variables and one value

[email protected] (Steve Bertrand)
Newsgroups perl.beginners
Message-ID <[email protected]>
Chas. Owens wrote:
> 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;

LOL ;)

I hope by "easiest way" he meant the most cost effective method that 
falls out the bottom of a tennis match ;)

...impressive...very impressive.

Thanks,

Steve
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.