You need to either explicitly open an output filehandle and print to it in the foreach loop or use the "-i" magic mentioned above.<> reads from STDIN print; writes to STDOUT
In reply to Re: Files not altered
by Anonymous Monk
in thread Files not altered
by bluethundr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |