[ic] autoloading multiple scratch variables at login?

Jonathan Clark jonc@webmaint.com
Wed, 11 Apr 2001 11:21:31 +0100


> It is just one value. Any hash is a set of key/value pairs. You
> can never have more than one instance of a single hash key.
> 
> In this case, what you want is a space-seperated list of 
> scratch names in one hash key, "scratch". So, either:
> 
> UserDB  default  scratch "merchantid adminid"
> 
> or 
> 
> UserDB  default <<EOH
> {
>     scratch => "merchantid adminid",
> }
> EOH
> 
> will work.

Thanks Mike, that works a treat. 

Should have known better about the duplicate key, but it _was_ late ;-)

I have added a note to the online docs about this.

Jonathan.
Webmaint.