Re: Hash Access Query

2002-12-03 Thread Todd W
"Ben Crane" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > right, my first attempt at a hash of arrays appears to > have some success...but I have a query: > > sub HoA > { > foreach $arb (@uniqueroadname) > { > foreach $doublearb (@contents) > { > if ($

RE: Hash Access Query

2002-12-03 Thread Beau E. Cox
Hi Ben - I have three general suggestions: use strict; use strict; use strict; 'strict' forces you to pre-define your variables; it makes the code more readable, AND will save you many times over from misspelling errors (when this happens, perl merrily creates a new varia