in reply to Concordance Printing of Two Arrays

Just making sure you know about Data::Dumper . Then you could explore contents of data structures very easily, like this:
use Data::Dumper; print Dumper \@alp;