in reply to How to print array containing the perl hash
What hash? It appears from that output that $self->genMap() returns a list of references to arrays.
Data::Dumper can be used to help you debug.
use Data::Dumper; print(Dumper(\@commandArgs)); [download]