Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Search for abcNUMBERdef, make it a variable, then do math?

by PeterPeiGuo (Hermit)
on Jan 22, 2011 at 06:15 UTC ( [id://883660] : note . print w/replies, xml ) Need Help??


in reply to Search for abcNUMBERdef, make it a variable, then do math?

Use a hash or array to index information, don't make the index part of your variable name.

Peter (Guo) Pei

  • Comment on Re: Search for abcNUMBERdef, make it a variable, then do math?