#!/usr/bin/perl open(DATA,"mahi"); $a=""; $a=$a.$_ while($_= ); $a =~ /This is the temp line\./g; print $`;