It is entirely possible that the regex might not match, in which case $1 will be undef.
Or worse, the $1 variable will have the value of the previous time it matched and it will overwrite the existing entry in the hash. In this case it wil overwrite it with the same value it already had as all values of the hash are set to "blah" (which is utterly strange).
CountZero
"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law
In reply to Re: Re: Immense hashes
by CountZero
in thread Immense hashes
by michthedrizzard
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |