in reply to Re: unless
in thread multiple commands before unless ?

I could also have done it this way, but I was interested in trying to use/learn about map. That's the main reason why I did it the way I did. Plus, map is just cool. ;-)

Replies are listed 'Best First'.
Re: Re: Re: unless
by fglock (Vicar) on Jun 26, 2003 at 19:17 UTC
    print TOFILE map {s/^update_info=(?:\w+)/update_info=auto/; $_ } <FILE>;