There's more than one way to do things | |
PerlMonks |
Re: Using vec to search an arrayby Tomtom (Scribe) |
on Jun 15, 2005 at 13:30 UTC ( [id://466909]=note: print w/replies, xml ) | Need Help?? |
I'm not sure it has something to do with it, but you're assigning $scratch the value "domains$i", and then, in the last loop, in the vec you're getting "domain$i", without the 's'.
In Section
Seekers of Perl Wisdom
|
|