The simplest way I thought of expressing this question is through Pseudo-script so here it is:
use strict; use warnings; use FooBar; my $obj = FooBar->new; .... .... Do something .... ... $obj->{'new_key'} = 'some_value' Now I am not sure if that is the correct way of inserting a new data structure into an already bless reference My aim to use this data structure across the script and FooBar through the object -$obj once added.