#Author: Shashidhar Vajramatti #Version: 1.0 my $file_path = "c:\temp\shashi.xml"; open LARGE_XML,"< $file_path"; my $large_file_content = do{local $/;};#This method is much faster and efficient. close LARGE_XML;