On Thu, Jun 12, 2008 at 21:04, Noah <[EMAIL PROTECTED]> wrote: > > > Hi there, > > I am trying to get the following variables to all equal 1. what is the > easiest way to do that/ > > $loginCount, $areaCount, $stateCount, $cityCount, $elementCount = 1; snip
$loginCount = $areaCount = $stateCount = $cityCount = $elementCount = 1; But the fact that you named them all count is a sign that you might want a hash instead: my %count; @count{qw/login area state city element/} = (1,1,1,1,1); -- 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/