> > @UserCache;   # Place to store data already seen 
> 
> You realize that this line is doing nothing. However, if
> you are using strict, which would be a good idea here, you
> might want to do this so UserCache is localized to this function:
> 
> BEGIN {
> 
> my @UserCache;
> 
> sub GetUser {
> .....
> }
> }

You're right.  I was not using strict in this particular package, but
thought it was used by default from the Perl program that does a use inc::db
(which has a use strict.)

I'll get to work on strict'ifying inc::db.

--Chuck

Reply via email to