in reply to Help needed with regard to arrays

A handy tool for debugging Perl data structures is Data::Dumper:
use Data::Dumper; print Dumper(\@xyz_chunk);