export O_PREFIX=OLD #### my $newValue='NEW'; s/O_PREFIX=(\w+)/O_PREFIX=$newValue/ if /O_PREFIX=/; #### O_PREFIX=NEWOLD instead of O_PREFIX=NEW
## my $newValue='NEW'; s/O_PREFIX=(\w+)/O_PREFIX=$newValue/ if /O_PREFIX=/; ##
## O_PREFIX=NEWOLD instead of O_PREFIX=NEW