I am using pipes (specifically piping out) in Perl to put an array from one file into an array in a different file. I can't figure out how to transfer the array. I kow how to open the pipe : open (FILEHANDLE, "| file") or die~
but how do I transfer the array. I think it has something to do with this error that keeps on appearing when I execute:
Name "main::DIRECTORY" used only once: possible typo at ./draft2.pl line 38.