Re: many variables and one value
[email protected] ("John W. Krahn")
| Newsgroups | perl.beginners |
|---|---|
| Message-ID | <[email protected]> |
Noah wrote: > > Hi there, Hello, > 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; $_ = 1 for my ( $loginCount, $areaCount, $stateCount, $cityCount, $elementCount ); John -- Perl isn't a toolbox, but a small machine shop where you can special-order certain sorts of tools at low cost and in short order. -- Larry Wall