From: Tomasi, Chuck [mailto:[EMAIL PROTECTED]]

> Yes, that's what I want...
 
> Returning 1 says "I found data".  If it is found in the cache, always
return 1.
> If it doesn't find it in the cache, it goes on to query the database where
it returns the number of rows found.

> @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 {
.....
}
}

HTH,
Douglas Wilson

Reply via email to