in reply to Initialize multiple variables in one statement

Why would you want to? As hinted by stevieb "numbered" variable are almost always the wrong way to do it. Tell us more about what you are doing and we can give a much better answer that will continue to work when you need to add or remove a few names and will be much easier to understand (once you understand arrays or hashes).

Premature optimization is the root of all job security
  • Comment on Re: Initialize multiple variables in one statement