in reply to Re: perl one line helper
in thread perl one line helper

did you heard about switch -p :-) ?
Little bit improved version:
perl -pe 's/(?<=TEMP_SGW_PDP_ADDR=).*$/47.104.153.163/'

Replies are listed 'Best First'.
Re^3: perl one line helper
by codeacrobat (Chaplain) on Dec 08, 2009 at 19:26 UTC
    For more information about -p see perlrun.

    print+qq(\L@{[ref\&@]}@{['@'x7^'!#2/"!4']});