But that said, I would solve your original problem using the options in perlrun. For instance:
(Switch quotes to " for Windows.)perl -pi.bak -e 's/^update_info=(?:\w+)/update_info=auto/' your_file
In reply to Re: Re: multiple commands before unless ?
by tilly
in thread multiple commands before unless ?
by emilford
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |