Yes, you are initialising a hash, but not the one the one you're sharing. share shares package variables — %main::params in this case — but you're initialising a lexical (my) variable.
Change my %params to local our %params.
In reply to Re^3: Problems with Safe compartment reval parameters
by ikegami
in thread Problems with Safe compartment reval parameters
by winneymj
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |