How can i save the $_\n into an array?? I dont wan to use $line = $line . $_"\n"; because this doesn't print the file out in the same format. I need to keep all the whitespace from the original file and be able to print it all outside of the while loop. Thankswhile (<$file>) { print "$_\n"; }
In reply to reading files by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |