in reply to Re: Using Sessions to save Parameters
in thread Using Sessions to save Parameters
I'm very surprised that didn't throw a syntax error.%newHash .= \%valueHash;
.= is the string concatenation operator. You can't just use it to combine hashes.
You'll want something like:
Which inserts the key-value pairs in %valueHash into %newHash, overriding any pairs with the same names.@newHash{keys %valueHash} = values %valueHash;
Side note: if you're having trouble with some almost totally unrelated problem, it's probably better to post a new, trimmed-down version of the new problem instead of updating an old one.
|
|---|