in reply to Re: Re: pattern matching
in thread pattern matching
I don't know the use for @users either, but the code snippet above is a non-balanced fragment:
Therefore, perhaps there is a use for it outside of the window we've been shown.while(<FILE>) { my @users; [snip] if ( [snip] ) { [snip] } # @users is still in scope as we fall off the end....
Looking at it a second time, @users should probably be scoped outside the while, since it is most-likely supposed to be an array of slightly munged lines from the file.
-Blake
|
|---|