so I got the logic but how do I open the directory containg these files and its subfiles and start reading each file at the time knowing that some files have subfiles which need to be changed as well ,, thankswhile files { open (firstFile, " c:/file")or die; if ( $_ eq " old " ) $_ = " new "; }
In reply to changing inside a file by amoura
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |