Does your perlmonks_are_great.pl script print the array, one member per line? If not, your script can not work. Update: Using Data::Dumper, Storable or YAML is another way of moving data around. If your array can contain strings with newlines or references, the backquotes are not powerful enough.