amoura has asked for the wisdom of the Perl Monks concerning the following question:
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 "; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: changing inside a file
by waswas-fng (Curate) on Aug 26, 2002 at 17:01 UTC | |
by amoura (Initiate) on Aug 26, 2002 at 18:21 UTC | |
by waswas-fng (Curate) on Aug 26, 2002 at 19:53 UTC | |
|
Re: changing inside a file
by derby (Abbot) on Aug 26, 2002 at 16:47 UTC | |
|
Re: changing inside a file
by bart (Canon) on Aug 26, 2002 at 18:58 UTC | |
by amoura (Initiate) on Aug 26, 2002 at 19:22 UTC | |
|
Re: changing inside a file
by screamingeagle (Curate) on Aug 26, 2002 at 16:54 UTC |