in reply to Re^3: Issue with read a file
in thread Issue with read a file

Thanks everyone! The following worked: $whole_file = do { local $/; <FILE> };