Well it wasn't the same question. Read the last one again and you'll see.
What I meant in this question was to read every single character in a file and save every single character in the file into one string.
And yes the File::Slurp was exactly what I was looking for this time. Code is working perfectly now, thanks!