Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Filehandle/array namingby JSAWS (Novice) |
on Nov 20, 2020 at 11:07 UTC ( [id://11123886]=perlquestion: print w/replies, xml ) | Need Help?? |
JSAWS has asked for the wisdom of the Perl Monks concerning the following question:
been really struggling here.... probably a dumb approach so I have 3 files, file1,file2,file3 generated by filehandles over ssh. File are written on local machine and contain CSV data coming from 6 nodes (need to stay like this). My script works but I am trying to optimize with a foreach loop on each of the files rather than hard coded for each. so I have this array:
The issue I have is that ${line.$FILE} does not seem to be filled by the filehandle, I get the mem address (GLOB(0x563b358e1060) for example). any help greatly appreciated!
Back to
Seekers of Perl Wisdom
|
|