Perl Monk, Perl Meditation | |
PerlMonks |
Re^3: Text File Manipulationby hippo (Bishop) |
on Jan 14, 2020 at 10:12 UTC ( [id://11111399]=note: print w/replies, xml ) | Need Help?? |
and the padding (space) for each column became one space only per column. `echo $row >> $EGIS_table_fileName_tmp`; # THIS IS NOT WORKINGGGGGGGGGGGGGGGGGGGGGGGGG! The problem is that instead of opening a file and printing to it you are instead shelling out and running echo from the shell which by default collapses multiple spaces into just one. Have a good read through perlintro, especially the part about how to write to files from within Perl in the section Files and I/O. Good luck.
In Section
Seekers of Perl Wisdom
|
|