#!usr/bin/perl open(DAT,"something/something/something"); while() { $_=~ s/(.*)/Red car/g; print DAT $_; }