my $DataQueue = Thread::Queue->new; my $href = {'A'=>'1', 'B'=>'2', 'C'=>'3' }; $DataQueue->enqueue($href);