The problem is that you've hard coded the creation of a new "batt" instrument in the BUILD method. The object is loaded properly from file1.json and then the BUILD method unceremoniously overwrites it with a newly constructed object with the default value
In reply to Re: MooseX::Storage JSON load not functioning as expected
by Loops
in thread MooseX::Storage JSON load not functioning as expected
by irishBatman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |