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
In reply to Re: unless
by fglock
in thread multiple commands before unless ?
by emilford
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |