in reply to multiple commands before unless ?
If you don't need the array, you can read-and-print:
# open the file - read # open the file - write while( <FILE> ) { # swap the update_info=blah line to update_info=auto s/^update_info=(?:\w+)/update_info=auto/; print TOFILE $_; } # close file # close file
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: unless
by emilford (Friar) on Jun 25, 2003 at 18:26 UTC | |
by fglock (Vicar) on Jun 26, 2003 at 19:17 UTC |